Javascript 如何在库中自定义打印pdf的按钮链接?
那么我该如何把链接按钮打印出来呢!在桌子下面?Javascript 如何在库中自定义打印pdf的按钮链接?,javascript,html,css,reactjs,react-to-pdf,Javascript,Html,Css,Reactjs,React To Pdf,那么我该如何把链接按钮打印出来呢!在桌子下面? 我可以使用CSS根据自己的设计定制它吗?只需将它写在表组件下就足够了 <div> <ComponentToPrint ref={el => (this.componentRef = el)} /> <ReactToPrint trigger={() => <a href="#">Print this out!</a>} content={() => th
我可以使用CSS根据自己的设计定制它吗?只需将它写在表组件下就足够了
<div>
<ComponentToPrint ref={el => (this.componentRef = el)} />
<ReactToPrint
trigger={() => <a href="#">Print this out!</a>}
content={() => this.componentRef}
/>
</div>