@uva-glass/component-library
Version:
React components UvA
49 lines (48 loc) • 959 B
JavaScript
import { jsx as t } from "react/jsx-runtime";
import { fn as a } from "../../index-DXR-TB1d.js";
import { RadioGroup as o } from "./RadioGroup.js";
const l = `
<RadioGroup label={label} options={options}
onChange={onChangeFunction} disabled={disabled} /> `, b = {
title: "Molecules/RadioGroup",
component: o,
argTypes: {
label: {
control: "text"
},
disabled: {
control: "boolean"
}
},
parameters: {
inspectComponent: o,
codeString: l
}
}, n = [
{
id: "1",
titleLabel: "Option 1",
value: "option1"
},
{
id: "2",
titleLabel: "Option 2",
value: "option2"
},
{
id: "3",
titleLabel: "Option 3",
value: "option3"
}
], i = (e) => /* @__PURE__ */ t(o, { ...e }), p = i.bind({});
p.args = {
disabled: !1,
label: "Sample label",
options: n,
onChange: a()
};
export {
p as RadioGroupExample,
b as default
};
//# sourceMappingURL=RadioGroup.stories.js.map