Type Alias: MenuProps
MenuProps:
object
Defined in: packages/components/src/components/Menu/Menu.tsx:14
Type declaration
children
children:
React.ReactNode
direction?
optional
direction:"left"
|"right"
Default direction: left
isOpen
isOpen:
boolean
menuIcon?
optional
menuIcon:IconifyIcon
|string
Default icon: menu-open
onClose()
onClose: () =>
void
Returns
void
onOpen()
onOpen: () =>
void
Returns
void
sizeOnDesktop?
optional
sizeOnDesktop:string
|number
Default size: 300px
sizeOnMobile?
optional
sizeOnMobile:string
|number
Default size: 100%
srcLogo?
optional
srcLogo:string
sx?
optional
sx:BoxProps
["sx"
]