Skip to content

maia.component-library / ModalRootProps

Interface: ModalRootProps

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

Extends

  • ComponentPropsWithRef<typeof ModalTriggerPrimitive>

Properties

children

children: ReactNode

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

Inherited from

ComponentPropsWithRef.children


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


state?

optional state?: UseOverlayStateReturn

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