The content subcomponent controls the structure rendered inside the Alert. This component extends the native <div>arrow-up-right API.
<div>
children
ReactNode
β
hasPadding
boolean
β
The inner structure of the Alert component.
This would load the default padding of the content if true.
The footer subcomponent can be used to render actions or extra actions below the content.
The content subcomponent controls the structure rendered below the Alert, as a Footer. This component extends the native <div>arrow-up-right API.
Last updated 2 years ago