overleaf/services/web/frontend/stories/radio-chip.stories.tsx
Rebeka Dekany a2946f8601 Merge pull request #15249 from overleaf/rd-odc-radio
Radio buttons for Onboarding Data Collection

GitOrigin-RevId: 8c4d1e965f3263b4c8a41c129c5c3d6e3ef10986
2023-11-02 08:52:52 +00:00

23 lines
529 B
TypeScript

import RadioChip from '../js/shared/components/radio-chip'
type Args = React.ComponentProps<typeof RadioChip>
export const RadioChipDefault = (args: Args) => {
return <RadioChip {...args} />
}
export const RadioChipDisabled = (args: Args) => {
return <RadioChip {...args} disabled />
}
export const RadioChipDisabledSelected = (args: Args) => {
return <RadioChip {...args} checked disabled />
}
export default {
title: 'Shared / Components / RadioChip',
component: RadioChip,
args: {
label: 'Option',
},
}