elm-mdc icon indicating copy to clipboard operation
elm-mdc copied to clipboard

trailingThumbnail for Material.Chip

Open dpinn opened this issue 2 years ago • 1 comments

The Material.Chip module currently has a leadingThumbnail, but lacks a trailingThumbnail. I'd like there to be a trailingThumbnail function so that my app can respond to clicks on the Remove icon.

dpinn avatar Mar 03 '22 01:03 dpinn

As a workaround, I'm not using the trailingIcon property and instead attach an IconButton to the end of the text inside the chip.

dpinn avatar Mar 03 '22 01:03 dpinn