ModalProps
ModalProps =
WcAppearanceProps&object
Props for the accessible dialog shell used by konekt-ui.
Type Declaration
Section titled “Type Declaration”children
Section titled “children”children:
ReactNode
Dialog content.
onClose
Section titled “onClose”onClose: () =>
void
Called for Escape, backdrop activation, and close controls supplied by the child content.
Returns
Section titled “Returns”void
open:
boolean
Whether the dialog is rendered.
title:
string
Accessible dialog label. Render the same title visibly in children.