UNPKG

common-intellisense

Version:
37 lines (36 loc) 1.06 kB
{ "props": [ { "Attribute": "icon", "Type": "`ReactNode` | `(isOpen: boolean | undefined) => ReactNode | null;`", "Description": "The icon to render as the navbar menu toggle.", "Default": "-" }, { "Attribute": "isSelected", "Type": "`boolean`", "Description": "Whether the navbar menu toggle is selected. (controlled)", "Default": "`false`" }, { "Attribute": "defaultSelected", "Type": "`boolean`", "Description": "Whether the navbar menu toggle is selected by default. (uncontrolled)", "Default": "`false`" }, { "Attribute": "srOnlyText", "Type": "`string`", "Description": "The text to be used by screen readers.", "Default": "`open`/`close` navigation menu" } ], "link": "https://nextui.org/docs/components/navbarmenutoggle", "events": [ { "Attribute": "onChange", "Type": "`(isOpen: boolean) => void`", "Description": "Handler that is called when the navbar menu toggle is pressed." } ] }