NoticesStore.show()method
Create and show a new notice, adding it to this list.
show(children?: ReactNode | undefined, status?: S | undefined): NoticeStore<S>
new NoticesStore<S>()
| Return | |
|---|---|
NoticesStore<S> | Store holding the live list of NoticeStore notices currently shown. |
Store holding the live list of NoticeStore notices currently shown.
const notices = new NoticesStore(); notices.show("Hello");Create and show a new notice, adding it to this list.
show(children?: ReactNode | undefined, status?: S | undefined): NoticeStore<S>