useMenuIsOpen
Public function
Signature
function useMenuIsOpen(
id: string,
cb?: (isOpen: boolean) => void
): readonly [boolean, (isOpen: boolean) => void]
Parameters
Name | Description |
---|---|
|
|
|
|
Returns
readonly [boolean, (isOpen: boolean) => void]
Source