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