@@ -23,40 +23,31 @@ const sections = [
23
23
</ thead >
24
24
< tbody >
25
25
< tr >
26
- < td > label </ td >
26
+ < td > disabled </ td >
27
27
< td >
28
- < TableCode > string </ TableCode >
28
+ < TableCode > boolean </ TableCode >
29
29
</ td >
30
- < td > Text to be placed on the chip.</ td >
31
- < td > -</ td >
32
- </ tr >
33
- < tr >
34
- < td > prefixIcon</ td >
30
+ < td > If true, the component will be disabled.</ td >
35
31
< td >
36
- < TableCode > string | { "(React.ReactNode & React.SVGProps <SVGSVGElement>)" } </ TableCode >
32
+ < TableCode > false </ TableCode >
37
33
</ td >
34
+ </ tr >
35
+ < tr >
36
+ < td > label</ td >
38
37
< td >
39
- < DxcLink newWindow href = "https://fonts.google.com/icons" >
40
- Material Symbol
41
- </ DxcLink > { " " }
42
- name or SVG element as the icon that will be placed before the chip label. When using Material Symbols,
43
- replace spaces with underscores. By default they are outlined if you want it to be filled prefix the
44
- symbol name with < TableCode > "filled_"</ TableCode > .
38
+ < TableCode > string</ TableCode >
45
39
</ td >
40
+ < td > Text to be placed on the chip.</ td >
46
41
< td > -</ td >
47
42
</ tr >
48
43
< tr >
49
- < td > suffixIcon </ td >
44
+ < td > margin </ td >
50
45
< td >
51
- < TableCode > string | { "(React.ReactNode & React.SVGProps <SVGSVGElement>)" } </ TableCode >
46
+ < TableCode > 'xxsmall' | 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | 'xxlarge' | Margin </ TableCode >
52
47
</ td >
53
48
< td >
54
- < DxcLink newWindow href = "https://fonts.google.com/icons" >
55
- Material Symbol
56
- </ DxcLink > { " " }
57
- name or SVG element as the icon that will be placed after the chip label. When using Material Symbols,
58
- replace spaces with underscores. By default they are outlined if you want it to be filled prefix the
59
- symbol name with < TableCode > "filled_"</ TableCode > .
49
+ Size of the margin to be applied to the component. You can pass an object with 'top', 'bottom', 'left' and
50
+ 'right' properties in order to specify different margin sizes.
60
51
</ td >
61
52
< td > -</ td >
62
53
</ tr >
@@ -83,23 +74,32 @@ const sections = [
83
74
< td > -</ td >
84
75
</ tr >
85
76
< tr >
86
- < td > disabled </ td >
77
+ < td > prefixIcon </ td >
87
78
< td >
88
- < TableCode > boolean </ TableCode >
79
+ < TableCode > string | { "(React.ReactNode & React.SVGProps <SVGSVGElement>)" } </ TableCode >
89
80
</ td >
90
- < td > If true, the component will be disabled.</ td >
91
81
< td >
92
- < TableCode > false</ TableCode >
82
+ < DxcLink newWindow href = "https://fonts.google.com/icons" >
83
+ Material Symbol
84
+ </ DxcLink > { " " }
85
+ name or SVG element as the icon that will be placed before the chip label. When using Material Symbols,
86
+ replace spaces with underscores. By default they are outlined if you want it to be filled prefix the
87
+ symbol name with < TableCode > "filled_"</ TableCode > .
93
88
</ td >
89
+ < td > -</ td >
94
90
</ tr >
95
91
< tr >
96
- < td > margin </ td >
92
+ < td > suffixIcon </ td >
97
93
< td >
98
- < TableCode > 'xxsmall' | 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | 'xxlarge' | Margin </ TableCode >
94
+ < TableCode > string | { "(React.ReactNode & React.SVGProps <SVGSVGElement>)" } </ TableCode >
99
95
</ td >
100
96
< td >
101
- Size of the margin to be applied to the component. You can pass an object with 'top', 'bottom', 'left' and
102
- 'right' properties in order to specify different margin sizes.
97
+ < DxcLink newWindow href = "https://fonts.google.com/icons" >
98
+ Material Symbol
99
+ </ DxcLink > { " " }
100
+ name or SVG element as the icon that will be placed after the chip label. When using Material Symbols,
101
+ replace spaces with underscores. By default they are outlined if you want it to be filled prefix the
102
+ symbol name with < TableCode > "filled_"</ TableCode > .
103
103
</ td >
104
104
< td > -</ td >
105
105
</ tr >
@@ -143,7 +143,7 @@ const ChipCodePage = () => {
143
143
return (
144
144
< DxcFlex direction = "column" gap = "4rem" >
145
145
< QuickNavContainerLayout >
146
- < QuickNavContainer sections = { sections } startHeadingLevel = { 2 } > </ QuickNavContainer >
146
+ < QuickNavContainer sections = { sections } startHeadingLevel = { 2 } / >
147
147
</ QuickNavContainerLayout >
148
148
< DocFooter githubLink = "https://github.com/dxc-technology/halstack-react/blob/master/apps/website/screens/components/chip/code/ChipCodePage.tsx" />
149
149
</ DxcFlex >
0 commit comments