NoticeBar is able to provide some notice information.
Basic usage of NoticeBar component.
| Properties | Description | Type | Default | 
|---|---|---|---|
| delay | The delay to start scrolling, unit ms | number | 2000 | 
| speed | THe scroll speed, unit px/s | number | 50 | 
| content | The content of the NoticeBar | React.ReactNode | - | 
| closeable | Whether it could be closed | boolean | false | 
| onClose | The callback function when closed | () => void | - | 
| extra | The additional area, displayed to the left of the close button | React.ReactNode | - | 
| icon | The voice icon on the left, could be customized | React.ReactNode | <Icon type="voice" /> | 
| type | The type of the NoticeBar | 'default' | 'alert' | 'error' | 'info' | 'default' |