import Banner from '@ltht-react/banner'
<Banner type="info">
This is an info alert with{' '}
<a href="#" class="alert-link">
an example link
</a>
.
</Banner>
Prop | Required | Default | Type | Description |
---|---|---|---|---|
type |
No | 'info' | 'info', 'danger', 'warning' | Type of styling for the banner |
icon |
No | None | ReactNode | Custom to render |
children |
No | None | Element | Child elements to render within the banner |
...rest |
No | None | HTMLAttributes | Any additional props supported by an HTML Div Element |