-
-
Notifications
You must be signed in to change notification settings - Fork 174
Closed
Labels
Description
Describe the bug
Having a radio type control to work with both Mobile and Web but having to control type: 'radio' works on the web and type: 'radios' works on mobile.
Expected behavior
A single control type (either 'radio' or 'radios') working on both Mobile and Web.
Code snippets
This code works on mobile.
argTypes: {
size: {
options: <size_options>,
control: { type: 'radios' },
},
},
This works for the web.
argTypes: {
size: {
options: <size_options>,
control: { type: 'radio' },
},
},
System:
"@storybook/addon-ondevice-actions": "^6.0.1-alpha.7",
"@storybook/addon-ondevice-backgrounds": "^6.0.1-alpha.7",
"@storybook/addon-ondevice-controls": "^6.0.1-alpha.7",
"@storybook/addon-ondevice-notes": "^6.0.1-alpha.7",
"@storybook/addon-react-native-web": "^0.0.14",
dannyhw
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
done
