ComponentsNote
Note
A React component for displaying a note annotation inside the document.
import { View, Note } from '@react-pdf/renderer';
const Reviewed = () => (
<View>
<Note>Checked against the Q3 ledger.</Note>
</View>
);Valid props
| Prop name | Description | Type | Default |
|---|---|---|---|
| style | Defines view styles. See more | Object, Array | undefined |
| children | Note string content | String | undefined |
| fixed | Renders component in all wrapped pages. See more | Boolean | false |
| break | Forces the wrapping algorithm to start a new page when rendering this element. See more | Boolean | false |
| minPresenceAhead | Hint that no page wrapping should occur between all sibling elements following the element within n points. See more | Number | 0 |