Components
Document
A component for creating document layouts
The Document
component is used to create a layout for document pages. It provides a structured way to set the size, orientation, and margin of the document.
Usage
Props
The size of the document. Must be one of: “A3”, “A4”, “A5”, “letter”, or “legal”.
The orientation of the document. Must be either “portrait” or “landscape”.
The margin of the document. Can be a string (e.g., “0.39in”) or a valid CSS margin value.
The content of the document.