mirror of
https://github.com/PeWu/topola-viewer.git
synced 2026-08-01 00:21:48 +00:00
Added 'Download PDF' option using jsPDF.
This commit is contained in:
@@ -169,8 +169,9 @@ export class App extends React.Component<RouteComponentProps, {}> {
|
||||
)
|
||||
}
|
||||
onPrint={() => this.chartRef && this.chartRef.print()}
|
||||
onDownloadSvg={() => this.chartRef && this.chartRef.downloadSvg()}
|
||||
onDownloadPdf={() => this.chartRef && this.chartRef.downloadPdf()}
|
||||
onDownloadPng={() => this.chartRef && this.chartRef.downloadPng()}
|
||||
onDownloadSvg={() => this.chartRef && this.chartRef.downloadSvg()}
|
||||
/>
|
||||
)}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user