mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-11 23:52:19 -05:00
24 lines
529 B
TypeScript
24 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',
|
||
|
},
|
||
|
}
|