Interface: StandardModalProperties
Defined in: shared/types/componentProps.ts:457
Modal/dialog component properties.
Remarksโ
This interface provides a standard template for modal and dialog components with proper accessibility support.
Extendsโ
Propertiesโ
children?โ
readonlyoptionalchildren:ReactNode
Defined in: shared/types/componentProps.ts:35
Component content (text, elements, or other components)
Inherited fromโ
CoreComponentProperties.children
className?โ
readonlyoptionalclassName:string
Defined in: shared/types/componentProps.ts:37
Additional CSS classes for styling customization
Inherited fromโ
CoreComponentProperties.className
disabled?โ
readonlyoptionaldisabled:boolean
Defined in: shared/types/componentProps.ts:39
Whether the component is disabled and non-interactive
Inherited fromโ
CoreComponentProperties.disabled
aria-describedby?โ
readonlyoptionalaria-describedby:string
Defined in: shared/types/componentProps.ts:53
ARIA described-by reference for additional descriptions
Inherited fromโ
AccessibilityProperties.aria-describedby
aria-label?โ
readonlyoptionalaria-label:string
Defined in: shared/types/componentProps.ts:55
ARIA label for screen readers
Inherited fromโ
AccessibilityProperties.aria-label
aria-labelledby?โ
readonlyoptionalaria-labelledby:string
Defined in: shared/types/componentProps.ts:57
ARIA labelledby reference for complex labeling
Inherited fromโ
AccessibilityProperties.aria-labelledby
aria-level?โ
readonlyoptionalaria-level:number
Defined in: shared/types/componentProps.ts:59
ARIA heading level for elements using role="heading"
Inherited fromโ
AccessibilityProperties.aria-level
role?โ
readonlyoptionalrole:string
Defined in: shared/types/componentProps.ts:61
Role attribute for semantic meaning
Inherited fromโ
tabIndex?โ
readonlyoptionaltabIndex:number
Defined in: shared/types/componentProps.ts:63
Tab index for keyboard navigation
Inherited fromโ
AccessibilityProperties.tabIndex
closeOnEscape?โ
readonlyoptionalcloseOnEscape:boolean
Defined in: shared/types/componentProps.ts:461
Whether pressing escape closes the modal
closeOnOutsideClick?โ
readonlyoptionalcloseOnOutsideClick:boolean
Defined in: shared/types/componentProps.ts:463
Whether clicking outside closes the modal
onClose()โ
readonlyonClose: () =>void
Defined in: shared/types/componentProps.ts:465
Handler called when modal should close
Returnsโ
void
openโ
readonlyopen:boolean
Defined in: shared/types/componentProps.ts:467
Whether the modal is currently open
size?โ
readonlyoptionalsize:ComponentSize
Defined in: shared/types/componentProps.ts:469
Size variant for the modal
titleโ
readonlytitle:string
Defined in: shared/types/componentProps.ts:471
Modal title for accessibility