close Method

Close a modal dialog

close(dialog?: ReactNode): void

Parameter Type Description
dialog ReactNode The Dialog to open. If one is not specified, the active dialog will be closed.

Returns - void

Last Updated: 20 June, 2023