UNPKG

@pdf-viewer/react

Version:

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

24 lines (23 loc) 572 B
import { jsx as p } from "react/jsx-runtime"; import { c as a } from "../../clsx-0c6e471a.js"; import { withRef as i } from "../../utils/withRef.js"; import "react"; const t = { "rp-button": "_rp-button_1jswj_1", "rp-button-active": "_rp-button-active_1jswj_18" }, j = i((o, r) => { const { children: s, active: n, className: c, ...e } = o; return /* @__PURE__ */ p( "button", { tabIndex: 0, ref: r, ...e, className: a(t["rp-button"], c, n ? t["rp-button-active"] : ""), children: s } ); }); export { j as UIButton };