Closed FelixGirard closed 2 years ago
StatusIconMap is meant for internal use only, as it allows very specific props and always applies aria-hidden
. If we export it, it adds extra maintenance and prevents us from making breaking changes.
Unless you have a strong reason for it, I recommend you just import the svg components from @itwin/itwinui-icons-react
directly.
Feature
The StatusIconMap situated at src/core/utils/components/icons.tsx is useful and should be exported for external use.
Examples
We could use it just like you do in the alerts.
Thanks!