-
Notifications
You must be signed in to change notification settings - Fork 36
React Native? #32
Comments
I assumed this would work out of the box - unless we're both missing something i can get knobs to work but not smart knobs 👎 |
Doing a bit of research on this I can see the difference is __docgenInfo is undefined in react-native. Can write a workaround for this, but I'm going to try and figure out why this is the case first. |
@rkhayat @rory-pickering Although this is a workaround, I've got this working for react native here https://github.com/kyle-ssg/addon-smart-knobs. Basically I've added my own parser for prop types as there's docgen support in React Native. Parsing prop types Using the parser |
are there any plans for bringing smart knobs over to React Native Storybook? (onDevice Addons)
The text was updated successfully, but these errors were encountered: