import React from 'react'; import { Table, TableHead, TableRow, TableBody, TableCell } from '@mui/material'; import Radio from '@/components/Radio'; import { Meta, StoryFn } from '@storybook/react-webpack5'; export default { title: 'Components/Radio', component: Radio, argTypes: { disabled: { control: 'boolean', table: { type: { summary: 'bool' }, defaultValue: { summary: 'false' } }, description: 'If true, the component is disabled.', }, checked: { control: 'boolean', table: { type: { summary: 'bool' }, defaultValue: { summary: 'false' } }, description: 'If true, the component is checked.', }, onChange: { table: { type: { summary: 'func' } }, description: 'Callback fired when the state is changed. Signature: `function(event: React.ChangeEvent) => void`', }, }, args: { disabled: false, checked: false, }, parameters: { controls: { expanded: true, include: ['checked', 'disabled', 'onChange'], }, }, docs: { description: { component: 'This component base is Material UI Radio component.', }, }, } as Meta; const RadioTemplate: StoryFn = (args) => { return ( Enabled Focuse Disabled On Off
); }; export const Status = { render: RadioTemplate, };