Kottster Packages API Reference
Preparing search index...
@kottster/react
useModal
Function useModal
useModal
()
:
{
closeModal
:
()
=>
void
}
Hook to get the opened modal's details.
Returns
{
closeModal
:
()
=>
void
}
closeModal
:
()
=>
void
Function to close the modal.
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Kottster Packages API Reference
Loading...
Hook to get the opened modal's details.