UNPKG

@pdf-viewer/react

Version:

A react-pdf-viewer component for React and Next.js. Suitable for react-pdf document.

11 lines (10 loc) 387 B
import { jsx as t } from "react/jsx-runtime"; import { ToolbarDefault as e } from "./ToolbarDefault.js"; import { ToolbarCustom as l } from "./ToolbarCustom.js"; const b = (a) => { const { children: r, toolbar: o } = a; return o && typeof o == "boolean" ? /* @__PURE__ */ t(e, { children: r }) : /* @__PURE__ */ t(l, { toolbar: o, children: r }); }; export { b as ToolbarLayout };