Created
October 13, 2020 17:37
-
-
Save airbugg/ac42c23b7b455fff2b35f0e8925dd1ab to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// we need to use the old "storiesOf" syntax for now | |
// until support for CSF lands in Storybook for React Native | |
import { storiesOf } from '@storybook/react-native'; | |
... | |
// CSF | |
export const CompStory = () => <MyComponent prop="value" />; | |
storiesOf('MyComponent', module).add('Basic Example', CompStory) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment