mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-25 10:02:42 +00:00
a2946f8601
Radio buttons for Onboarding Data Collection GitOrigin-RevId: 8c4d1e965f3263b4c8a41c129c5c3d6e3ef10986
23 lines
529 B
TypeScript
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',
|
|
},
|
|
}
|