Slot
The DropdownMenu.Slot component provides a simple wrapper for custom content within the dropdown menu. This is useful for adding custom components or layouts that don’t fit the standard item patterns.
Properties
Slot
The Slot component provides a flexible container for custom content within the dropdown menu.
<DropdownMenu.Slot className="my-class" // [OPTIONAL] custom class> {/* Custom content */}</DropdownMenu.Slot>Prop | Required | Default | Type |
|---|---|---|---|
| className | false | string | |
| children | false | ReactNode |