UNPKG

geoiq-frontend-ui-kit

Version:

This project is a UI kit for GeoIQ's frontend. It's built with React, TypeScript, and Vite.

19 lines (18 loc) 572 B
import { Slot as p } from "@radix-ui/react-slot"; import m, { useImperativeHandle as f } from "react"; import { useImageEditor as l } from "./index45.es.js"; const n = m.forwardRef(({ trigger: i, image: o, backgroundImage: r, state: t, ...a }, d) => { const e = l({ image: o, backgroundImage: r, state: t, ...a }); return f(d, () => e, [e]), /* @__PURE__ */ m.createElement( p, { onClick: () => e.open({ image: o ?? r, state: t }) }, i ); }); n.displayName = "ImageEditor"; export { n as ImageEditor }; //# sourceMappingURL=index44.es.js.map