Live example
Properties
|
Name |
Values |
Default |
|---|---|---|
|
title (required) |
ReactNode |
|
|
subtitle |
string |
|
|
primaryButton |
{ label: string; onClick: Function; testID: string } |
|
|
secondaryButton |
{ label: string; onClick: Function; testID: string } |
|
|
headingComponent |
string | ComponentType<any> |
Heading3 |
|
autoFocus |
boolean |
false |
|
children |
ReactNode |
|
|
… |
Omit<JSX.IntrinsicElements['div'], 'role' | 'title'> |
|
Composition
- Overlay
- Content area
- Close button
- Fixed action area
- Overlay
- Content area
- Close button
- Fixed action area