Skip to content

Commit

Permalink
breaking(List): Rename ListItemTextSecondry -> ListSecondaryText
Browse files Browse the repository at this point in the history
  • Loading branch information
James Friedman committed Dec 18, 2017
1 parent 3dba63a commit 3fb78a6
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ export default [
'List',
'ListItem',
'ListItemText',
'ListItemTextSecondary',
'ListItemSecondaryText',
'ListItemStartDetail',
'ListItemEndDetail',
'ListDivider',
Expand Down
2 changes: 1 addition & 1 deletion docs/docgen.json
Original file line number Diff line number Diff line change
Expand Up @@ -1504,7 +1504,7 @@
},
{
"description": "",
"displayName": "ListItemTextSecondary",
"displayName": "ListItemSecondaryText",
"methods": []
},
{
Expand Down
6 changes: 3 additions & 3 deletions src/List/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ export const ListItemText = simpleTag({
classNames: 'mdc-list-item__text'
});

export const ListItemTextSecondary = simpleTag({
displayName: 'ListItemTextSecondary',
export const ListItemSecondaryText = simpleTag({
displayName: 'ListItemSecondaryText',
tag: 'span',
classNames: 'mdc-list-item__text__secondary'
classNames: 'mdc-list-item__secondary-text'
});

export const ListItemStartDetail = simpleTag({
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export {
List,
ListItem,
ListItemText,
ListItemTextSecondary,
ListItemSecondaryText,
ListItemStartDetail,
ListItemEndDetail,
ListGroup,
Expand Down

0 comments on commit 3fb78a6

Please sign in to comment.