Type Definitions
object
# MessageBoxProps
Prop Types of a MessageBox component.
Apart from those defined below it extends all SpaceProps
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
onCloseClick |
function
|
<optional> |
Triggered when user clicks close button. If not given close button won't be seen |
message |
string
|
<optional> |
Title content of a message |
variant |
'danger'
|
'info'
|
'success'
|
<optional> |
Variant |
icon |
string
|
<optional> |
Icon which will be seen in the title |
size |
'sm'
|
<optional> |
Size variant |
style |
Record.<string, string>
|
<optional> |
Optional html style property |
children |
React.ReactNode
|
<optional> |
Optional children, when given component will be expanded |