Skip to content

ModalProps

ModalProps = WcAppearanceProps & object

Props for the accessible dialog shell used by konekt-ui.

children: ReactNode

Dialog content.

onClose: () => void

Called for Escape, backdrop activation, and close controls supplied by the child content.

void

open: boolean

Whether the dialog is rendered.

title: string

Accessible dialog label. Render the same title visibly in children.