DialogsStore.show()method
Open a new dialog wrapping the given content.
show(children: ReactNode): void
new DialogsStore()
| Return | |
|---|---|
DialogsStore | Store holding the live list of open <Dialog> elements. |
Store holding the live list of open <Dialog> elements.
show() opens a new dialog; closed dialogs are removed after an animation delay.const dialogs = new DialogsStore(); dialogs.show(<p>Hello</p>);
Open a new dialog wrapping the given content.
show(children: ReactNode): void