Improve `Chip` accessibility from `ActionIcon`
Is your feature request related to a problem? Please describe. When using an action icon for either prefix or suffix, the displayed text in the tooltip is set by default and cannot be changed. In some scenarios it would be very helpful to do it but with the current API it is not possible.
Describe the solution you'd like We should make some changes in the way the actions for the prefix and suffix are declared.
The proposed idea is removing prefixIcon, suffixIcon, onClickPrefix, onClickPrefix and follow this pattern instead, like other components do:
type Props = {
...
suffix: { icon: SVG | string; onClick?: () => void; title: string },
prefix: { icon: SVG | string; onClick?: () => void; title: string },
...
};
Thank you for opening an issue! 🚀
Our team will review it as soon as possible. In the meantime, please make sure that you've provided all the necessary details to help us understand and address the issue effectively.
Feel free to contribute and participate in discussions!