UNPKG

@crossed/ui

Version:

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

20 lines (19 loc) 440 B
import { jsx } from "react/jsx-runtime"; import { VisibilityHidden } from "@crossed/primitive"; const Implementation = ({ checked, setChecked }) => { return /* @__PURE__ */ jsx(VisibilityHidden, { hide: true, children: /* @__PURE__ */ jsx( "input", { type: "checkbox", checked, onChange: () => setChecked(!checked) } ) }); }; export { Implementation }; //# sourceMappingURL=Implementation.web.js.map