From 2dd3e89a270d65211bded30bf42c438a3aa740ea Mon Sep 17 00:00:00 2001 From: DavidThorpe Date: Thu, 2 Aug 2018 11:14:25 +0100 Subject: [PATCH 1/2] Removed reference to checked prop which does not exist --- packages/material-ui/src/Chip/Chip.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/material-ui/src/Chip/Chip.js b/packages/material-ui/src/Chip/Chip.js index 652f09be5d2b0c..ae841ac08474d8 100644 --- a/packages/material-ui/src/Chip/Chip.js +++ b/packages/material-ui/src/Chip/Chip.js @@ -55,7 +55,7 @@ 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, @@ -63,7 +63,7 @@ export const styles = theme => { 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, From c08a6ba96d0396bea97fe6db89c1d174ec32ab90 Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Thu, 2 Aug 2018 21:51:43 +0200 Subject: [PATCH 2/2] yarn docs:api --- packages/material-ui/src/Chip/Chip.js | 2 +- pages/api/chip.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/material-ui/src/Chip/Chip.js b/packages/material-ui/src/Chip/Chip.js index ae841ac08474d8..b79a2a1af28707 100644 --- a/packages/material-ui/src/Chip/Chip.js +++ b/packages/material-ui/src/Chip/Chip.js @@ -55,7 +55,7 @@ export const styles = theme => { backgroundColor: emphasize(backgroundColor, 0.08), }, }, - /* Styles applied to the `avatar` element.*/ + /* Styles applied to the `avatar` element. */ avatar: { marginRight: -4, width: height, diff --git a/pages/api/chip.md b/pages/api/chip.md index f1a24a0d361abf..12afc0774d8490 100644 --- a/pages/api/chip.md +++ b/pages/api/chip.md @@ -37,8 +37,8 @@ This property accepts the following keys: | root | Styles applied to the root element. | clickable | Styles applied to the root element if `onClick` is defined or `clickable={true}`. | deletable | Styles applied to the root element if `onDelete` is defined. -| avatar | Styles applied to the `avatar` element if `checked={true}`. -| avatarChildren | Styles applied to the `avartar` elements children. +| avatar | Styles applied to the `avatar` element. +| avatarChildren | Styles applied to the `avatar` elements children. | label | Styles applied to the label `span` element`. | deleteIcon | Styles applied to the `deleteIcon` element.