Skip to content

Commit

Permalink
fix: no color stories add props
Browse files Browse the repository at this point in the history
  • Loading branch information
atanasster committed May 8, 2020
1 parent 16cbaa3 commit 67a287f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/stories/src/stories/smart-prop-type.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ onlyColors.story = {
},
};

export const noColors = () => <Button label="Choose colors" />;
export const noColors = props => <Button label="Choose colors" {...props} />;

noColors.story = {
parameters: {
Expand Down
2 changes: 1 addition & 1 deletion examples/stories/src/stories/smart-typescript.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ onlyColors.story = {
},
};

export const noColors = () => <Button label="Choose colors" />;
export const noColors = props => <Button label="Choose colors" {...props} />;

noColors.story = {
parameters: {
Expand Down

0 comments on commit 67a287f

Please sign in to comment.