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/translations/api-docs/chip/chip.json
+6-5Lines changed: 6 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,8 @@
28
28
"skipFocusWhenDisabled": {
29
29
"description": "If <code>true</code>, allows the disabled chip to escape focus. If <code>false</code>, allows the disabled chip to receive focus."
30
30
},
31
+
"slotProps": { "description": "The props used for each slot inside." },
32
+
"slots": { "description": "The components used for each slot inside." },
31
33
"sx": {
32
34
"description": "The system prop that allows defining system overrides as well as additional CSS styles."
33
35
},
@@ -235,10 +237,6 @@
235
237
"conditions": "<code>size=\"small\"</code>",
236
238
"deprecationInfo": "Combine the <a href=\"/material-ui/api/chip/#chip-classes-icon\">.MuiChip-icon</a> and <a href=\"/material-ui/api/chip/#chip-classes-sizeSmall\">.MuiChip-sizeSmall</a> classes instead. See <a href=\"/material-ui/migration/migrating-from-deprecated-apis/\">Migrating from deprecated APIs</a> for more details."
237
239
},
238
-
"label": {
239
-
"description": "Styles applied to {{nodeName}}.",
240
-
"nodeName": "the label <code>span</code> element"
241
-
},
242
240
"labelMedium": {
243
241
"description": "Styles applied to {{nodeName}} if {{conditions}}.",
244
242
"nodeName": "the label <code>span</code> element",
@@ -268,7 +266,6 @@
268
266
"conditions": "<code>variant=\"outlined\"</code> and <code>color=\"secondary\"</code>",
269
267
"deprecationInfo": "Combine the <a href=\"/material-ui/api/chip/#chip-classes-outlined\">.MuiChip-outlined</a> and <a href=\"/material-ui/api/chip/#chip-classes-colorSecondary\">.MuiChip-colorSecondary</a> classes instead. See <a href=\"/material-ui/migration/migrating-from-deprecated-apis/\">Migrating from deprecated APIs</a> for more details."
270
268
},
271
-
"root": { "description": "Styles applied to the root element." },
272
269
"sizeMedium": {
273
270
"description": "Styles applied to {{nodeName}} if {{conditions}}.",
// The `component` prop is preserved because `Chip` relies on it for internal logic. If `shouldForwardComponentProp` were `false`, `useSlot` would remove the `component` prop, potentially breaking the component's behavior.
0 commit comments