DropdownMenuList API
API reference docs for theDropdownMenuList
component. For examples and details on the usage of this component, visit the component demo page.
Props
Prop | Type | Description | Default |
---|---|---|---|
children? | React.ReactNode | ((option: object) => React.ReactNode) | Accepts either a ReactNode or a function that returns a ReactNode for each item in the collection. | _ |
options? | ReadonlyArray<object> | An array of items that the collection should render.Note: This is mandatory if children is a function. | _ |