Wrapper

API

This component extends the native <div> API. That's why the className prop is not included in the table.

Props
Type
Required

children

ReactNode

heading

string

variant

'default' | 'success' | 'danger' | 'warning';

icon

children

The subcomponents provided.

heading

The title rendered in the superior of the component.

variant

To change the presentation of the component.

icon

A custom icon that overrides the default ones.

Last updated