SubComponents

Content

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

Content API

Props
Type
Required

children

ReactNode

βœ…

hasPadding

boolean

❌

chevron-rightchildrenhashtag

The inner structure of the Alert component.

chevron-righthasPaddinghashtag

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.

Props
Type
Required

children

ReactNode

βœ…

Last updated