[英]ReactJS components for PDF export, Excel export and print
我正在構建一些ReactJS Table
和Report
組件,它基本上將包含<table>
數據,一些圖形( d3
)和一些文本數據。 我需要提供3個按鈕:
使用ReactJS是否有任何可信任的包可用於上述任務? 處理這些要求的方法是什么?
示例:將其復制並粘貼為.html(在React中,它將是onClick = {window.print()} ...如果我是正確的)
<!Doctype html>
<html>
<body>
<p>Use the button below to print</p>
<button id="print" onclick="window.print()">Print</button>
</body>
</html>
老問題,但由於我正在尋找類似的東西,我最終使用:
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.