React Native component types as options #376
zakharchenkoAndrii
started this conversation in
Ideas
Replies: 1 comment
-
In the current web storybook solution there are some arg types inferred from type definitions however I'm not sure how intelligent it is or if it will work for RN, in theory some of it could work in the current beta but im not sure. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It would be super useful to have a common exported package converting RN core library types to the array. To be used as options.
As an example:
RN
TextInput
ReturnKeyType
is defined as type:storybook
options
takes array as an argument. So we have to convert it to:Beta Was this translation helpful? Give feedback.
All reactions