Skip to content

Commit

Permalink
fix(Typography): filenames for Body1 and Body2 (#43)
Browse files Browse the repository at this point in the history
While the components have been implemented properly,
their filenames didn't match the component name.
  • Loading branch information
kladdad authored and kradio3 committed Sep 1, 2017
1 parent 4fda6d0 commit d068384
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/Typography/Body1.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ const defaultProps = {
component: 'p',
};

const Body2 = props => (
const Body1 = props => (
<TypographyElement
modificator="body2"
modificator="body1"
{...props}
/>
);

Body2.defaultProps = defaultProps;
export default Body2;
Body1.defaultProps = defaultProps;
export default Body1;

8 changes: 4 additions & 4 deletions src/Typography/Body2.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ const defaultProps = {
component: 'p',
};

const Body1 = props => (
const Body2 = props => (
<TypographyElement
modificator="body1"
modificator="body2"
{...props}
/>
);

Body1.defaultProps = defaultProps;
export default Body1;
Body2.defaultProps = defaultProps;
export default Body2;

0 comments on commit d068384

Please sign in to comment.