@pdf-viewer/react
Version:
A react-pdf-viewer component for React and Next.js. Suitable for react-pdf document.
23 lines (22 loc) • 575 B
JavaScript
import { jsx as e } from "react/jsx-runtime";
import { forwardRef as p } from "react";
import { c as u } from "../../clsx-0c6e471a.js";
import '../../assets/Button.css';const t = {
"rp-button": "_rp-button_1jswj_1",
"rp-button-active": "_rp-button-active_1jswj_18"
}, _ = p((o, r) => {
const { children: s, active: n, className: c, ...a } = o;
return /* @__PURE__ */ e(
"button",
{
tabIndex: 0,
ref: r,
...a,
className: u(t["rp-button"], c, n ? t["rp-button-active"] : ""),
children: s
}
);
});
export {
_ as UIButton
};