Skip to content

maia.component-library / ModalContainerProps

Interface: ModalContainerProps ​

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

Extends ​

  • Omit<ComponentPropsWithRef<typeof ModalPrimitive>, Exclude<keyof ModalBackdropProps, "children" | "className">>

Properties ​

children? ​

optional children?: ChildrenOrFunction<ModalRenderProps>

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

The children of the component. A function may be provided to alter the children based on component state.

Inherited from ​

Omit.children


className? ​

optional className?: ClassNameOrFunction<ModalRenderProps>

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

The CSS className for the element. A function may be provided to compute the class based on component state.

Default ​

ts
'react-aria-ModalOverlay'

Inherited from ​

AlertDialogBackdropProps.className


placement? ​

optional placement?: ModalPlacement

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


scroll? ​

optional scroll?: "inside" | "outside"

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


size? ​

optional size?: "lg" | "md" | "sm" | "xs" | "cover" | "full"

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