UNPKG

@uva-glass/component-library

Version:

React components UvA

49 lines (48 loc) 1.06 kB
import { jsx as e } from "react/jsx-runtime"; import { fn as n } from "../../index-DXR-TB1d.js"; import { CheckboxButton as o } from "./CheckboxButton.js"; const a = "<CheckboxButton label={} value={} isChecked={} variant={} disabled={} notValid={} onSetValue={} key={} />", b = { title: "Atoms/CheckboxButton", component: o, argTypes: { label: { control: "text" }, value: { control: "string" }, isChecked: { control: "boolean" }, variant: { options: ["single", "start", "middle", "end"], control: "radio" }, disabled: { control: "boolean" }, notValid: { control: "boolean" }, onSetValue: { table: { disable: !0 } } }, parameters: { inspectComponent: o, codeString: a } }, l = (t) => /* @__PURE__ */ e(o, { ...t }), r = l.bind({}); r.args = { label: "1.2", value: "1.2", variant: "single", onSetValue: n() }; export { r as CheckboxButtonExample, b as default }; //# sourceMappingURL=CheckboxButton.stories.js.map