Skip to content

Documentation / react-auth / useModalStatus

Function: useModalStatus() ​

useModalStatus(): Object

Use this hook to check whether or not the Privy modal is currently visible.

Returns ​

Object

isOpen - whether or not the Privy modal is visible

isOpen ​

isOpen: boolean = isModalOpen