import { jsx as _jsx } from "react/jsx-runtime";
import RadioButtons from "./index";
import Text from "../text";
export default {
    title: "Controls/Radio buttons",
    component: RadioButtons
};
export const Basic = () => (_jsx(RadioButtons, { rows: [
        {
            id: "eq-test",
            optionValue: "eq-test",
            optionTitle: "eq-test",
            address: (_jsx(Text.F1, { children: "5FjgLbaUaDZa6g4yCYSiwquxMYBWKRuqD2cL5Y5C4SK8Fu3R" })),
            usd: (_jsx(Text.F1, { children: "1 000.00 USD" }))
        },
        {
            id: "eq-tst1",
            optionValue: "eq-tst1",
            optionTitle: "eq-tst1",
            address: (_jsx(Text.F1, { children: "5GNox11y677dYc7Zt5DM84PUaW4oLypRyC4LF6rao4EqRENV" })),
            usd: (_jsx(Text.F1, { children: "100.00 USD" }))
        },
        {
            id: "eq-tst2",
            optionValue: "eq-tst2",
            optionTitle: "eq-tst2",
            address: (_jsx(Text.F1, { children: "5GNox11y677dYc7Zt5DM84PUaW4oLypRyC4LF6rao4EqRENV" })),
            usd: (_jsx(Text.F1, { children: "10.00 USD" }))
        }
    ], onChange: (v) => console.log(`Radio button value: ${v}`) }));
export const WithCheckedFirstValue = () => (_jsx(RadioButtons, { rows: [
        {
            id: "eq-test",
            optionValue: "eq-test",
            optionTitle: "eq-test",
            address: (_jsx(Text.F1, { children: "5FjgLbaUaDZa6g4yCYSiwquxMYBWKRuqD2cL5Y5C4SK8Fu3R" })),
            usd: (_jsx(Text.F1, { children: "1 000.00 USD" }))
        },
        {
            id: "eq-tst1",
            optionValue: "eq-tst1",
            optionTitle: "eq-tst1",
            address: (_jsx(Text.F1, { children: "5GNox11y677dYc7Zt5DM84PUaW4oLypRyC4LF6rao4EqRENV" })),
            usd: (_jsx(Text.F1, { children: "100.00 USD" }))
        },
        {
            id: "eq-tst2",
            optionValue: "eq-tst2",
            optionTitle: "eq-tst2",
            address: (_jsx(Text.F1, { children: "5GNox11y677dYc7Zt5DM84PUaW4oLypRyC4LF6rao4EqRENV" })),
            usd: (_jsx(Text.F1, { children: "10.00 USD" }))
        }
    ], onChange: (v) => console.log(`Radio button value: ${v}`), checkedValue: true }));
export const WithCheckedValue = () => (_jsx(RadioButtons, { rows: [
        {
            id: "eq-test",
            optionValue: "eq-test",
            optionTitle: "eq-test",
            address: (_jsx(Text.F1, { children: "5FjgLbaUaDZa6g4yCYSiwquxMYBWKRuqD2cL5Y5C4SK8Fu3R" })),
            usd: (_jsx(Text.F1, { children: "1 000.00 USD" }))
        },
        {
            id: "eq-tst1",
            optionValue: "eq-tst1",
            optionTitle: "eq-tst1",
            address: (_jsx(Text.F1, { children: "5GNox11y677dYc7Zt5DM84PUaW4oLypRyC4LF6rao4EqRENV" })),
            usd: (_jsx(Text.F1, { children: "100.00 USD" }))
        },
        {
            id: "eq-tst2",
            optionValue: "eq-tst2",
            optionTitle: "eq-tst2",
            address: (_jsx(Text.F1, { children: "5GNox11y677dYc7Zt5DM84PUaW4oLypRyC4LF6rao4EqRENV" })),
            usd: (_jsx(Text.F1, { children: "10.00 USD" }))
        }
    ], onChange: (v) => console.log(`Radio button value: ${v}`), checkedValue: "eq-tst2" }));
//# sourceMappingURL=index.stories.js.map