UNPKG

geoiq-frontend-ui-kit

Version:

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

23 lines (22 loc) 610 B
import * as t from "react"; import * as r from "@radix-ui/react-switch"; import { cn as a } from "./index.es79.js"; import { SwitchVariants as o, SwitchThumbVariants as n } from "./index.es71.js"; const h = t.forwardRef((m, i) => { const { className: s, size: e, ...c } = m; return /* @__PURE__ */ t.createElement( r.Root, { className: a(o({ size: e }), s), ...c, ref: i }, /* @__PURE__ */ t.createElement(r.Thumb, { className: a(n({ size: e })) }) ); }); h.displayName = "Switch"; export { h as Switch, o as SwitchVariants }; //# sourceMappingURL=index.es13.js.map