You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/pages/api-docs/chip.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ The `MuiChip` name can be used for providing [default props](/customization/glob
40
40
| <spanclass="prop-name">label</span> | <spanclass="prop-type">node</span> || The content of the label. |
41
41
| <spanclass="prop-name">onDelete</span> | <spanclass="prop-type">func</span> || Callback fired when the delete icon is clicked. If set, the delete icon will be shown. |
42
42
| <spanclass="prop-name">size</span> | <spanclass="prop-type">'medium'<br>| 'small'</span> | <spanclass="prop-default">'medium'</span> | The size of the chip. |
43
-
| <spanclass="prop-name">variant</span> | <spanclass="prop-type">'default'<br>| 'outlined'<br>| string</span> | <spanclass="prop-default">'default'</span> | The variant to use. |
43
+
| <spanclass="prop-name">variant</span> | <spanclass="prop-type">'filled'<br>| 'outlined'<br>| string</span> | <spanclass="prop-default">'filled'</span> | The variant to use. |
44
44
45
45
The `ref` is forwarded to the root element.
46
46
@@ -62,7 +62,7 @@ Any other props supplied will be provided to the root element (native element).
62
62
| <spanclass="prop-name">deletableColorPrimary</span> | <spanclass="prop-name">.MuiChip-deletableColorPrimary</span> | Styles applied to the root element if `onDelete` and `color="primary"` is defined.
63
63
| <spanclass="prop-name">deletableColorSecondary</span> | <spanclass="prop-name">.MuiChip-deletableColorSecondary</span> | Styles applied to the root element if `onDelete` and `color="secondary"` is defined.
64
64
| <spanclass="prop-name">outlined</span> | <spanclass="prop-name">.MuiChip-outlined</span> | Styles applied to the root element if `variant="outlined"`.
65
-
| <spanclass="prop-name">default</span> | <spanclass="prop-name">.MuiChip-default</span> | Styles applied to the root element if `variant="default"`.
65
+
| <spanclass="prop-name">filled</span> | <spanclass="prop-name">.MuiChip-filled</span> | Styles applied to the root element if `variant="filled"`.
66
66
| <spanclass="prop-name">outlinedPrimary</span> | <spanclass="prop-name">.MuiChip-outlinedPrimary</span> | Styles applied to the root element if `variant="outlined"` and `color="primary"`.
67
67
| <spanclass="prop-name">outlinedSecondary</span> | <spanclass="prop-name">.MuiChip-outlinedSecondary</span> | Styles applied to the root element if `variant="outlined"` and `color="secondary"`.
68
68
| <spanclass="prop-name">avatar</span> | <spanclass="prop-name">.MuiChip-avatar</span> | Styles applied to the `avatar` element.
@@ -77,8 +77,8 @@ Any other props supplied will be provided to the root element (native element).
77
77
| <spanclass="prop-name">labelSmall</span> | <spanclass="prop-name">.MuiChip-labelSmall</span> | Styles applied to the label `span` element if `size="small"`.
78
78
| <spanclass="prop-name">deleteIcon</span> | <spanclass="prop-name">.MuiChip-deleteIcon</span> | Styles applied to the `deleteIcon` element.
79
79
| <spanclass="prop-name">deleteIconSmall</span> | <spanclass="prop-name">.MuiChip-deleteIconSmall</span> | Styles applied to the `deleteIcon` element if `size="small"`.
80
-
| <spanclass="prop-name">deleteIconColorPrimary</span> | <spanclass="prop-name">.MuiChip-deleteIconColorPrimary</span> | Styles applied to the deleteIcon element if `color="primary"` and `variant="default"`.
81
-
| <spanclass="prop-name">deleteIconColorSecondary</span> | <spanclass="prop-name">.MuiChip-deleteIconColorSecondary</span> | Styles applied to the deleteIcon element if `color="secondary"` and `variant="default"`.
80
+
| <spanclass="prop-name">deleteIconColorPrimary</span> | <spanclass="prop-name">.MuiChip-deleteIconColorPrimary</span> | Styles applied to the deleteIcon element if `color="primary"` and `variant="filled"`.
81
+
| <spanclass="prop-name">deleteIconColorSecondary</span> | <spanclass="prop-name">.MuiChip-deleteIconColorSecondary</span> | Styles applied to the deleteIcon element if `color="secondary"` and `variant="filled"`.
82
82
| <spanclass="prop-name">deleteIconOutlinedColorPrimary</span> | <spanclass="prop-name">.MuiChip-deleteIconOutlinedColorPrimary</span> | Styles applied to the deleteIcon element if `color="primary"` and `variant="outlined"`.
83
83
| <spanclass="prop-name">deleteIconOutlinedColorSecondary</span> | <spanclass="prop-name">.MuiChip-deleteIconOutlinedColorSecondary</span> | Styles applied to the deleteIcon element if `color="secondary"` and `variant="outlined"`.
84
84
| <spanclass="prop-name">focusVisible</span> | <spanclass="prop-name">.Mui-focusVisible</span> | Pseudo-class applied to the root element if keyboard focused.
0 commit comments