MenuProps
type MenuProps = Partial<ChakraMenuProperties> & { children: React.ReactNode | ((props: { isOpen: boolean }) => React.ReactNode); isLazy?: boolean; lazyBehavior?: "unmount" | "keepMounted"; matchWidth?: boolean; offset?: [number, number]; placement?: Positioning["placement"];};Type Declaration
Section titled “Type Declaration”| Name | Type |
|---|---|
children |
| React.ReactNode | ((props: { isOpen: boolean; }) => React.ReactNode) |
isLazy? |
boolean |
lazyBehavior? |
"unmount" | "keepMounted" |
matchWidth? |
boolean |
offset? |
[number, number] |
placement? |
Positioning["placement"] |