Skip to content

Commit

Permalink
[Chip] Remove reference to checked prop in the docs (#12375)
Browse files Browse the repository at this point in the history
* Removed reference to checked prop which does not exist

* yarn docs:api
  • Loading branch information
DavidThorpe71 authored and oliviertassinari committed Aug 2, 2018
1 parent 8013fdd commit b9c4c23
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/material-ui/src/Chip/Chip.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,15 @@ export const styles = theme => {
backgroundColor: emphasize(backgroundColor, 0.08),
},
},
/* Styles applied to the `avatar` element if `checked={true}`. */
/* Styles applied to the `avatar` element. */
avatar: {
marginRight: -4,
width: height,
height,
color: theme.palette.type === 'light' ? theme.palette.grey[700] : theme.palette.grey[300],
fontSize: theme.typography.pxToRem(16),
},
/* Styles applied to the `avartar` elements children. */
/* Styles applied to the `avatar` elements children. */
avatarChildren: {
width: 19,
height: 19,
Expand Down
4 changes: 2 additions & 2 deletions pages/api/chip.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ This property accepts the following keys:
| <span class="prop-name">root</span> | Styles applied to the root element.
| <span class="prop-name">clickable</span> | Styles applied to the root element if `onClick` is defined or `clickable={true}`.
| <span class="prop-name">deletable</span> | Styles applied to the root element if `onDelete` is defined.
| <span class="prop-name">avatar</span> | Styles applied to the `avatar` element if `checked={true}`.
| <span class="prop-name">avatarChildren</span> | Styles applied to the `avartar` elements children.
| <span class="prop-name">avatar</span> | Styles applied to the `avatar` element.
| <span class="prop-name">avatarChildren</span> | Styles applied to the `avatar` elements children.
| <span class="prop-name">label</span> | Styles applied to the label `span` element`.
| <span class="prop-name">deleteIcon</span> | Styles applied to the `deleteIcon` element.

Expand Down

0 comments on commit b9c4c23

Please sign in to comment.