Hi,
I have a component that looks like this -
But when I print this, I get this in the print dialog -
I am using bootstrap grid with react (which uses flexbox). I am using the library like this -
const deliveryOrderTableRef =
useRef() as React.MutableRefObject<HTMLDivElement>;
const printPage = useReactToPrint({
content: () => deliveryOrderTableRef.current,
copyStyles: true,
});
<div className="delivery-order-table" ref={ref}>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4