79176666

Date: 2024-11-11 07:06:25
Score: 0.5
Natty:
Report link

Try again, here is the latest version 3.0.2 of react-to-print:

import { useReactToPrint } from 'react-to-print';
const handlePrint = useReactToPrint({
    content: () => componentRef?.current,
    documentTitle: 'title',
    onAfterPrint: () => {}
});
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: haiquan0121