Alert: allow to pass null value in icon property
korvin89 opened this issue · comments
It would be useful if you want to hide the icon at all. Now there is no options to do that.
@IsaevAlexandr Hey! What do you think about it?
Hi! It's good idea. Now only way to do this it is pass icon like this:
<Alert icon={<Alert.Icon view="normal" />} view="success" {...props} />
uikit/src/components/Alert/AlertIcon.tsx
Line 48 in a34db16