UNPKG

@boxyhq/react-ui

Version:

React UI components from BoxyHQ

21 lines (20 loc) 589 B
import { j as o } from "./index-CL4_ByuK.js"; import { d as c, a as f } from "./index-CL4_ByuK.js"; import { useEffect as m } from "react"; import { I as a } from "./index-Ct6iuh8S.js"; function d(e) { return m(() => { Object.entries({ ...e.overrideTheme }).forEach(([t, r]) => { document.documentElement.style.setProperty(t, r); }); }, [e.overrideTheme]), /* @__PURE__ */ o.jsx("div", { id: "__themer", children: e.children }); } export { c as ClipboardButton, f as InputWithCopyButton, a as ItemList, d as Themer }; //# sourceMappingURL=shared.js.map