gravity-ui / uikit

Home Page:https://gravity-ui.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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} />