SubComponents

Content

The content subcomponent controls the structure rendered inside the Alert. This component extends the native <div> API.

Content API

Props
Type
Required

children

ReactNode

hasPadding

boolean

children

The inner structure of the Alert component.

hasPadding

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> API.

Props
Type
Required

children

ReactNode

Last updated