Banner
Banner component for displaying information and announcements with optional actions supporting various styles and icons.
Types
Banner visual variants. Info is default.
Positions
Position controls how the banner will style its borders for the position required
Loading
CTAs
CTAs allow to use a primary button and a secondary button or a checkbox to interact with the banner.
If isOneLine is set to true, the banner will try to fit all the content in a single line, and will center the icon
Icons can be added to the buttons as iconBefore and iconAfter props.
Buttons can be setup with a disabled state
Links
Links can be added to the banner with the link prop. Can be a URL or an action. Both can have the link-out icon.
Close
Close must be either a function to handle the close action or undefined.