@@ -10,15 +10,32 @@ export interface ChipPropsSizeOverrides {}
10
10
export interface ChipPropsVariantOverrides { }
11
11
12
12
interface ComponentsProps {
13
- root ?: SlotComponentProps < 'div' , { sx ?: SxProps } , ChipOwnerState > ;
14
- label ?: SlotComponentProps < 'span' , { sx ?: SxProps } , ChipOwnerState > ;
13
+ root ?: SlotComponentProps < 'div' , { component ?: React . ElementType ; sx ?: SxProps } , ChipOwnerState > ;
14
+ label ?: SlotComponentProps <
15
+ 'span' ,
16
+ { component ?: React . ElementType ; sx ?: SxProps } ,
17
+ ChipOwnerState
18
+ > ;
15
19
action ?: SlotComponentProps <
16
20
'button' ,
17
- { sx ?: SxProps ; component ?: React . ElementType ; href ?: string ; to ?: string } ,
21
+ {
22
+ component ?: React . ElementType ;
23
+ sx ?: SxProps ;
24
+ href ?: string ;
25
+ to ?: string ;
26
+ } ,
27
+ ChipOwnerState
28
+ > ;
29
+ startDecorator ?: SlotComponentProps <
30
+ 'span' ,
31
+ { component ?: React . ElementType ; sx ?: SxProps } ,
32
+ ChipOwnerState
33
+ > ;
34
+ endDecorator ?: SlotComponentProps <
35
+ 'span' ,
36
+ { component ?: React . ElementType ; sx ?: SxProps } ,
18
37
ChipOwnerState
19
38
> ;
20
- startDecorator ?: SlotComponentProps < 'span' , { sx ?: SxProps } , ChipOwnerState > ;
21
- endDecorator ?: SlotComponentProps < 'span' , { sx ?: SxProps } , ChipOwnerState > ;
22
39
}
23
40
24
41
export interface ChipTypeMap < P = { } , D extends React . ElementType = 'div' > {
0 commit comments