Skip to content

maia.component-library / DropdownRootProps

Interface: DropdownRootProps ​

Defined in: node_modules/.pnpm/@heroui+react@3.2.1_@react-_0c36d9022f1aaf46c104e0a6d2192bf4/node_modules/@heroui/react/dist/components/dropdown/dropdown.d.ts:8

Extends ​

Properties ​

children ​

children: ReactNode

Defined in: node_modules/.pnpm/react-aria-components@1.18._652bbfc7b5fa5f84b16cd32a1196785b/node_modules/react-aria-components/dist/types/src/Menu.d.ts:12

Inherited from ​

ComponentPropsWithRef.children


className? ​

optional className?: string

Defined in: node_modules/.pnpm/@heroui+react@3.2.1_@react-_0c36d9022f1aaf46c104e0a6d2192bf4/node_modules/@heroui/react/dist/components/dropdown/dropdown.d.ts:9


defaultOpen? ​

optional defaultOpen?: boolean

Defined in: node_modules/.pnpm/react-stately@3.47.0_react@19.2.7/node_modules/react-stately/dist/types/src/overlays/useOverlayTriggerState.d.ts:5

Whether the overlay is open by default (uncontrolled).

Inherited from ​

ComponentPropsWithRef.defaultOpen


isOpen? ​

optional isOpen?: boolean

Defined in: node_modules/.pnpm/react-stately@3.47.0_react@19.2.7/node_modules/react-stately/dist/types/src/overlays/useOverlayTriggerState.d.ts:3

Whether the overlay is open by default (controlled).

Inherited from ​

ComponentPropsWithRef.isOpen


onOpenChange? ​

optional onOpenChange?: (isOpen) => void

Defined in: node_modules/.pnpm/react-stately@3.47.0_react@19.2.7/node_modules/react-stately/dist/types/src/overlays/useOverlayTriggerState.d.ts:7

Handler that is called when the overlay's open state changes.

Parameters ​

isOpen ​

boolean

Returns ​

void

Inherited from ​

ComponentPropsWithRef.onOpenChange


trigger? ​

optional trigger?: MenuTriggerType

Defined in: node_modules/.pnpm/react-stately@3.47.0_react@19.2.7/node_modules/react-stately/dist/types/src/menu/useMenuTriggerState.d.ts:10

How the menu is triggered.

Default ​

ts
'press'

Inherited from ​

ComponentPropsWithRef.trigger