Skip to content

Commit

Permalink
Merge pull request #5263 from vdegenne:md-filter-chip-icons
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 590301589
  • Loading branch information
copybara-github committed Dec 12, 2023
2 parents 739cf33 + b44b90c commit 27d3541
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions chips/internal/trailing-icons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,14 @@ export function renderRemoveButton({
@focus=${focusListener}>
<md-focus-ring part="trailing-focus-ring"></md-focus-ring>
<md-ripple ?disabled=${disabled}></md-ripple>
<svg class="trailing icon" viewBox="0 96 960 960" aria-hidden="true">
<path
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" />
</svg>
<span class="trailing icon">
<slot name="remove-trailing-icon">
<svg viewBox="0 96 960 960" aria-hidden="true">
<path
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" />
</svg>
</slot>
</span>
<span class="touch"></span>
</button>
`;
Expand Down

0 comments on commit 27d3541

Please sign in to comment.