UNPKG

@uva-glass/component-library

Version:

React components UvA

27 lines (26 loc) 712 B
import { jsx as o } from "react/jsx-runtime"; import { fn as l } from "../../index-DXR-TB1d.js"; import { ToggleSwitch as e } from "./ToggleSwitch.js"; const n = ` // Has all InputHTMLAttributes props available except "className" and "style" <ToggleSwitch onChange={onChangeFunction} checked={checked} label={label} /> `, p = { title: "Atoms/ToggleSwitch", component: e, parameters: { inspectComponent: e, codeString: n } }, a = (t) => /* @__PURE__ */ o(e, { ...t }), s = { label: "Toggle switch example", labelPosition: "before", onChange: l() }, c = a.bind({}); c.args = { ...s }; export { c as ToggleSwitchExample, p as default }; //# sourceMappingURL=ToggleSwitch.stories.js.map