import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import RadioButtons from "./index";
import { Row } from "../grid";
export default {
    title: "Controls/Radio buttons new",
    component: RadioButtons,
};
const Template = (args) => (_jsxs(RadioButtons, { ...args, children: [_jsx(Row, { children: "Option 1" }, "1"), _jsx(Row, { children: "Option 2" }, "2"), _jsx(Row, { children: "Option 3" }, "3")] }));
export const Basic = Template.bind({});
Basic.args = {
    selected: "1",
    onChange: (selected) => alert(selected),
};
export const NoneSelected = Template.bind({});
NoneSelected.args = {
    selected: undefined,
    onChange: (selected) => alert(selected),
};
//# sourceMappingURL=index.stories.js.map