MCPcopy
hub / github.com/diegomura/react-pdf / NodeProps

Interface NodeProps

packages/renderer/index.d.ts:41–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39 class Document extends React.Component<DocumentProps> {}
40
41 interface NodeProps {
42 id?: string;
43 style?: Style | Style[];
44 /**
45 * Render component in all wrapped pages.
46 * @see https://react-pdf.org/advanced#fixed-components
47 */
48 fixed?: boolean;
49 /**
50 * Force the wrapping algorithm to start a new page when rendering the
51 * element.
52 * @see https://react-pdf.org/advanced#page-breaks
53 */
54 break?: boolean;
55 /**
56 * Hint that no page wrapping should occur between all sibling elements following the element within n points
57 * @see https://react-pdf.org/advanced#orphan-&-widow-protection
58 */
59 minPresenceAhead?: number;
60 }
61
62 interface PageProps extends NodeProps {
63 /**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected