`properties`
plugin provides a button to list the properties of the PDF document.npm install '@react-pdf-viewer/properties';
import { propertiesPlugin } from '@react-pdf-viewer/properties';// Import stylesimport '@react-pdf-viewer/properties/lib/styles/index.css';
const propertiesPluginInstance = propertiesPlugin();
`propertiesPluginInstance`
provides the following properties:Property | Type | Description | From |
---|---|---|---|
`ShowProperties` | `ReactElement` | Customizable button to list the properties | 2.0.0 |
`ShowPropertiesButton` | `ReactElement` | The default button to list the properties | 2.0.0 |
`ShowPropertiesMenuItem` | `ReactElement` | The default menu item to list the properties | 2.0.0 |
`properties`
plugin instance:<Viewer plugins={[propertiesPluginInstance]} />