Skip to components
DEVELOPER REFERENCE · v4.0.0

Menu API

Props, callbacks and methods. Select an underlined type to explore its fields, allowed values and callback arguments.

Menu3 props1 callbacks0 methods

Props3

Menu props
NameTypeDescription
childrenOptional
ComponentChildrenInspect type
Content rendered inside the component. Supply nodes from the framework adapter you are using.
classNameOptionalstring | undefinedAdditional CSS classes applied to the component root.
labelOptionalstring | undefinedLabel content or accessible name for the component, as rendered by this control.

Events and callbacks1

Menu events and callbacks
NameTypeDescription
onCloseOptional
(() => void) | undefinedInspect type
Requests that the parent close the surface or picker.

Methods0

No component-specific imperative methods. Use props and callbacks to control this component.