Skip to content

Commit 27d3541

Browse files
Merge pull request #5263 from vdegenne:md-filter-chip-icons
PiperOrigin-RevId: 590301589
2 parents 739cf33 + b44b90c commit 27d3541

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

chips/internal/trailing-icons.ts

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,14 @@ export function renderRemoveButton({
3434
@focus=${focusListener}>
3535
<md-focus-ring part="trailing-focus-ring"></md-focus-ring>
3636
<md-ripple ?disabled=${disabled}></md-ripple>
37-
<svg class="trailing icon" viewBox="0 96 960 960" aria-hidden="true">
38-
<path
39-
d="m249 849-42-42 231-231-231-231 42-42 231 231 231-231 42 42-231 231 231 231-42 42-231-231-231 231Z" />
40-
</svg>
37+
<span class="trailing icon">
38+
<slot name="remove-trailing-icon">
39+
<svg viewBox="0 96 960 960" aria-hidden="true">
40+
<path
41+
d="m249 849-42-42 231-231-231-231 42-42 231 231 231-231 42 42-231 231 231 231-42 42-231-231-231 231Z" />
42+
</svg>
43+
</slot>
44+
</span>
4145
<span class="touch"></span>
4246
</button>
4347
`;

0 commit comments

Comments
 (0)