Skip to content

NoticeGlobal

Notice

jsx
import NoticeGlobal from 'intergalactic/notice-global';
<NoticeGlobal />;
import NoticeGlobal from 'intergalactic/notice-global';
<NoticeGlobal />;

NoticeGlobalProps

& {...}
NameTypeDescription
themeNotice theme
durationnumberDuration of animation, ms
closablebooleanAdds a Close icon
onClose(event: React.SyntheticEvent) => voidCallback 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 'intergalactic/notice';
<NoticeGlobal.Content />;
import NoticeGlobal from 'intergalactic/notice';
<NoticeGlobal.Content />;

NoticeGlobal.CloseIcon

The component is inherited from Box and is used to insert the close cross.

jsx
import NoticeGlobal from 'intergalactic/notice';
<NoticeGlobal.CloseIcon />;
import NoticeGlobal from 'intergalactic/notice';
<NoticeGlobal.CloseIcon />;

Released under the MIT License.

Released under the MIT License.