Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Chip] Remove reference to checked prop in the docs #12375

Merged
merged 2 commits into from
Aug 2, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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