SubComponents

Content

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

Content API

Props
Type
Required

children

ReactNode

βœ…

hasPadding

boolean

❌

chevron-rightchildrenhashtag

The inner structure of the Modal component.

chevron-righthasPaddinghashtag

Adds or removes a default padding on the card of the modal

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

Props
Type
Required

children

ReactNode

βœ…

The title subcomponent can be used to render a header on the modal component.

Header API

The header subcomponent controls the structure rendered over the Modal, as a Title. This component extends the native <div>arrow-up-right API.

children

ReactNode

βœ…

hideCloseButton

boolean

❌

Last updated