Skip to content

Commit

Permalink
Merge pull request #29 from storybooks/UsulPro-patch-1
Browse files Browse the repository at this point in the history
Fix Welcome.js
  • Loading branch information
usulpro authored Apr 6, 2017
2 parents f2daf9a + f7fa07f commit ec5a1f4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions generators/REACT_SCRIPTS/template/src/stories/Welcome.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,11 @@ export default class Welcome extends React.Component {
Just like that, you can add your own components as stories.
<br />
Here's how to add your <code style={styles.code}>App</code> component as a story.
<div
style={styles.codeBlock}
dangerouslySetInnerHTML={{__html: `<pre>${codeBlock}</pre>`}}
/>
</p>
<div
style={styles.codeBlock}
dangerouslySetInnerHTML={{__html: `<pre>${codeBlock}</pre>`}}
/>
<p>
Usually we create stories with smaller UI components in the app.<br />
Have a look at the <a style={styles.link} href="https://getstorybook.io/docs/basics/writing-stories" target="_blank">Writing Stories</a> section in our documentation.
Expand Down

0 comments on commit ec5a1f4

Please sign in to comment.