GitHub
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 nameDescriptionTypeDefault
styleDefines view styles. See moreObject, Arrayundefined
childrenNote string contentStringundefined
fixedRenders component in all wrapped pages. See moreBooleanfalse
breakForces the wrapping algorithm to start a new page when rendering this element. See moreBooleanfalse
minPresenceAheadHint that no page wrapping should occur between all sibling elements following the element within n points. See moreNumber0

On this page