Skip to content

Commit

Permalink
Merge branch 'master' into 1239-fix-undefined-in-head
Browse files Browse the repository at this point in the history
  • Loading branch information
shilman authored Jun 10, 2017
2 parents 77934a7 + bb3e6d9 commit a2c3585
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/pages/addons/introduction/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ import Button from './button';
const styles = {
textAlign: 'center',
};
const CenterDecorator = ({ children }) => (
const CenterDecorator = (storyFn) => (
<div style={styles}>
{ children }
{ storyFn() }
</div>
);

Expand All @@ -85,9 +85,9 @@ import Welcome from './welcome';
const styles = {
textAlign: 'center',
};
const CenterDecorator = ({ children }) => (
const CenterDecorator = (storyFn) => (
<div style={styles}>
{ children }
{ storyFn() }
</div>
);
addDecorator(CenterDecorator);
Expand Down

0 comments on commit a2c3585

Please sign in to comment.