UNPKG

@crossed/demo

Version:

A universal & performant styling library for React Native, Next.js & React

13 lines (12 loc) 407 B
import { jsx, jsxs } from "react/jsx-runtime"; import { Box, Switch } from "@crossed/ui"; const SwitchDemo = () => { return /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsxs(Switch, { children: [ /* @__PURE__ */ jsx(Switch.Thumb, {}), /* @__PURE__ */ jsx(Switch.Label, { "aria-label": "Hello", children: "Hello" }) ] }) }); }; export { SwitchDemo }; //# sourceMappingURL=Switch.js.map