File tree Expand file tree Collapse file tree 4 files changed +14
-9
lines changed
packages/site-demo/content/product/components/chip/react Expand file tree Collapse file tree 4 files changed +14
-9
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ export const App = ({ theme }: any) => (
6
6
< >
7
7
< Chip theme = { theme } > Default</ Chip >
8
8
9
- < Chip before = { < Icon icon = { mdiEmail } size = { Size . xs } /> } theme = { theme } >
9
+ < Chip before = { < Icon icon = { mdiEmail } size = { Size . xs } theme = { theme } /> } theme = { theme } >
10
10
Default rich
11
11
</ Chip >
12
12
</ >
Original file line number Diff line number Diff line change @@ -8,14 +8,14 @@ export const App = ({ theme }: any) => {
8
8
9
9
return (
10
10
< >
11
- < Chip theme = { theme } after = { < Icon icon = { mdiClose } size = { Size . xs } /> } onClick = { onClick } >
11
+ < Chip theme = { theme } after = { < Icon icon = { mdiClose } size = { Size . xs } theme = { theme } /> } onClick = { onClick } >
12
12
Dismissible
13
13
</ Chip >
14
14
15
15
< Chip
16
16
theme = { theme }
17
- before = { < Icon icon = { mdiEmail } size = { Size . xs } /> }
18
- after = { < Icon icon = { mdiClose } size = { Size . xs } /> }
17
+ before = { < Icon icon = { mdiEmail } size = { Size . xs } theme = { theme } /> }
18
+ after = { < Icon icon = { mdiClose } size = { Size . xs } theme = { theme } /> }
19
19
onClick = { onClick }
20
20
>
21
21
Dismissible rich
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ export const App = ({ theme }: any) => {
11
11
< >
12
12
< Chip
13
13
theme = { theme }
14
- after = { < Icon icon = { isSelected ? mdiCloseCircle : mdiMenuDown } size = { Size . xs } /> }
14
+ after = { < Icon icon = { isSelected ? mdiCloseCircle : mdiMenuDown } size = { Size . xs } theme = { theme } /> }
15
15
isSelected = { isSelected }
16
16
onClick = { onClick }
17
17
onAfterClick = { onAfterClick }
@@ -21,8 +21,8 @@ export const App = ({ theme }: any) => {
21
21
22
22
< Chip
23
23
theme = { theme }
24
- before = { < Icon icon = { mdiFilterVariant } size = { Size . xs } /> }
25
- after = { < Icon icon = { isSelected ? mdiCloseCircle : mdiMenuDown } size = { Size . xs } /> }
24
+ before = { < Icon icon = { mdiFilterVariant } size = { Size . xs } theme = { theme } /> }
25
+ after = { < Icon icon = { isSelected ? mdiCloseCircle : mdiMenuDown } size = { Size . xs } theme = { theme } /> }
26
26
isSelected = { isSelected }
27
27
onClick = { onClick }
28
28
onAfterClick = { onAfterClick }
Original file line number Diff line number Diff line change @@ -12,11 +12,16 @@ export const App = ({ theme }: any) => {
12
12
Small
13
13
</ Chip >
14
14
15
- < Chip theme = { theme } size = { Size . s } before = { < Icon icon = { mdiEmail } size = { Size . xxs } /> } >
15
+ < Chip theme = { theme } size = { Size . s } before = { < Icon icon = { mdiEmail } size = { Size . xxs } theme = { theme } /> } >
16
16
Small rich
17
17
</ Chip >
18
18
19
- < Chip theme = { theme } size = { Size . s } after = { < Icon icon = { mdiClose } size = { Size . xxs } /> } onClick = { onClick } >
19
+ < Chip
20
+ theme = { theme }
21
+ size = { Size . s }
22
+ after = { < Icon icon = { mdiClose } size = { Size . xxs } theme = { theme } /> }
23
+ onClick = { onClick }
24
+ >
20
25
Small dismissible
21
26
</ Chip >
22
27
</ >
You can’t perform that action at this time.
0 commit comments