maia.component-library / DropdownSubmenuTriggerProps
Interface: DropdownSubmenuTriggerProps
Defined in: node_modules/.pnpm/@heroui+react@3.2.1_@react-_0c36d9022f1aaf46c104e0a6d2192bf4/node_modules/@heroui/react/dist/components/dropdown/dropdown.d.ts:29
Extends
ComponentPropsWithRef<typeofSubmenuTriggerPrimitive>
Properties
children
children:
ReactElement<unknown,string|JSXElementConstructor<any>>[]
Defined in: node_modules/.pnpm/react-aria-components@1.18._652bbfc7b5fa5f84b16cd32a1196785b/node_modules/react-aria-components/dist/types/src/Menu.d.ts:20
The contents of the SubmenuTrigger. The first child should be an Item (the trigger) and the second child should be the Popover (for the submenu).
Inherited from
ComponentPropsWithRef.children
delay?
optionaldelay?:number
Defined in: node_modules/.pnpm/react-aria-components@1.18._652bbfc7b5fa5f84b16cd32a1196785b/node_modules/react-aria-components/dist/types/src/Menu.d.ts:26
The delay time in milliseconds for the submenu to appear after hovering over the trigger.
Default
200Inherited from
ComponentPropsWithRef.delay
key?
optionalkey?:Key|null
Defined in: node_modules/.pnpm/@types+react@19.2.17/node_modules/@types/react/index.d.ts:259
Inherited from
ComponentPropsWithRef.key
ref?
optionalref?:Ref<HTMLDivElement>
Defined in: node_modules/.pnpm/@types+react@19.2.17/node_modules/@types/react/index.d.ts:301
Allows getting a ref to the component instance. Once the component unmounts, React will set ref.current to null (or call the ref with null if you passed a callback ref).
See
Inherited from
ComponentPropsWithRef.ref