I want to create a pdf or print with react or create a print for with specified size.
I used react-to-print but it uses the default a4 size and cannot be customized, another is react-pdf but it only allows specified text or image with its tag so i can’t create a pdf using a react component, the same with react-pdf, size cannot be set.