Skip to content

NoticeGlobal

Notice

jsx
import NoticeGlobal from '@semcore/ui/notice-global';
<NoticeGlobal />;

NoticeGlobalProps

& {...}
NameTypeDescription
theme Notice theme
durationnumber Duration of animation, ms
closableboolean Adds a Close button
onClose(event: React.SyntheticEvent) => void Callback on a click on the close button
localestring

NoticeGlobal.Content

The component is inherited from Box and is used to insert content in the notification.

jsx
import NoticeGlobal from '@semcore/ui/notice';
<NoticeGlobal.Content />;

NoticeGlobal.CloseIcon

The component is inherited from Button and is used to insert the Close button.

jsx
import NoticeGlobal from '@semcore/ui/notice';
<NoticeGlobal.CloseIcon />;

Last updated:

Released under the MIT License.

Released under the MIT License.