You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a UI component dev environment for your app.
49
+
</p>
50
+
<p>
51
+
We've added some basic stories inside the <codestyle={styles.code}>src/stories</code> directory.
52
+
<br/>
53
+
A story is a single state of one or more UI components. You can have as many stories as you want.
54
+
<br/>
55
+
(Basically a story is like a visual test case.)
56
+
</p>
57
+
<p>
58
+
See these sample <astyle={styles.link}href='#'onClick={this.showApp.bind(this)}>stories</a> for a component called <codestyle={styles.code}>Button</code>.
59
+
</p>
60
+
<p>
61
+
Just like that, you can add your own components as stories.
62
+
<br/>
63
+
You can also edit those components and see changes right away.
64
+
<br/>
65
+
(Try editing the <codestyle={styles.code}>Button</code> component
66
+
located at <codestyle={styles.code}>src/stories/Button.js</code>.)
67
+
</p>
68
+
<p>
69
+
This is just one thing you can do with Storybook.
70
+
<br/>
71
+
Have a look at the <astyle={styles.link}href="https://github.com/kadirahq/react-storybook"target="_blank">React Storybook</a> repo for more information.
72
+
</p>
73
+
<pstyle={styles.note}>
74
+
<b>NOTE:</b>
75
+
<br/>
76
+
Have a look at the <codestyle={styles.code}>.storybook/webpack.config.js</code> to add webpack
77
+
loaders and plugins you are using in this project.
0 commit comments