Context
Elements supports <Document> for print/PDF mode, but we do not currently have a real invoice or receipt example showing this pillar clearly.
For a launch story built around one component tree to email, web, and PDF, we need a concrete PDF-oriented example.
Definition of Done
Where to start
packages/react/src/components/Document.tsx
Table component
render-to-json.test.tsx
wrappers.test.tsx
Context
Elements supports
<Document>for print/PDF mode, but we do not currently have a real invoice or receipt example showing this pillar clearly.For a launch story built around one component tree to email, web, and PDF, we need a concrete PDF-oriented example.
Definition of Done
<Document><Table>renderToHtml(tree)documentcategory or underexamples/invoice-pdf/Where to start
packages/react/src/components/Document.tsxTablecomponentrender-to-json.test.tsxwrappers.test.tsx