formRadioField.stories.mdx
Mon Mar 25 2024 17:13:45 GMT+0000 (Coordinated Universal Time)
Saved by
@rafal_rydz
import {FormRadioField} from "ui";
import {ArgsTable, Meta, Story} from "@storybook/addon-docs";
<Meta title="Components/Inputs/FormRadioField/old" component={FormRadioField}/>
export const Template = (args) => <FormRadioField {...args} />;
# FormRadioField
This component renders an FormRadioField.
## Props
<ArgsTable story="Default"/>
## Examples
<Story
name="Default"
args={{
id: "example",
label: "Label",
labelIcon: "home",
action: () => {
},
value: "Medium",
radioGroup: ["Small", "Medium", "Big"],
required: true,
disabled: false,
direction: "vertical",
caption: "",
}}
>
{Template.bind({})}
</Story>
content_copyCOPY
Comments