Skip to content

Commit

Permalink
Fix Level breakpoint proptypes
Browse files Browse the repository at this point in the history
  • Loading branch information
couds committed Sep 26, 2017
1 parent 0d8fb5f commit 9ab1ec8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/level/level.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Level.propTypes = {
children: PropTypes.node,
className: PropTypes.string,
style: PropTypes.object,
breakpoint: PropTypes.oneOf([breakpoints]),
breakpoint: PropTypes.oneOf(breakpoints),
renderAs: PropTypes.string,
};

Expand Down
4 changes: 2 additions & 2 deletions src/components/media/media.story.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ storiesOf('Media', module)
</Content>
<Level breakpoint="mobile">
<Level.Side align="left">
<Button color="link">Like</Button>
<Button color="link">Share</Button>
<Button link>Like</Button>
<Button link>Share</Button>
</Level.Side>
</Level>
</Media.Item>
Expand Down

0 comments on commit 9ab1ec8

Please sign in to comment.