Toolbar Config reference
Toolbar customization: where the toolbar sits, which controls it shows and in which order, and which it hides on narrow screens.
Used by
Import
import type { ToolbarConfig } from '@kingtech/react-pdf-viewer';Properties
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
position | 'top' | 'bottom' | 'bottom' | No | Toolbar placement (below the page by default). |
actions | readonly ToolbarAction[] | all actions | No | Actions to show. Their order within each group is fixed. |
Source
packages/react-pdf-viewer/src/types.ts
Generated from content/react-pdf-viewer/reference/toolbar-config.schema.json. Do not edit by hand.