Theming
Pass a theme prop to match your product chrome.
Supported values
lightdarkauto- follow system preferencesepia
Example
tsx
<DocumentViewer
source={{ kind: "url", url: "/report.pdf" }}
theme="dark"
className="h-full w-full"
/>Pass a theme prop to match your product chrome.
lightdarkauto - follow system preferencesepia<DocumentViewer
source={{ kind: "url", url: "/report.pdf" }}
theme="dark"
className="h-full w-full"
/>