Banner (code)
Use banners to alert users about important information.
Important announcement regarding the status of your delivery
import { Banner } from '@mediahuis/chameleon-react'
Props
System Props
System Props
Next to the properties listed in the propstable, a collection of system props can be added to any component for further general styling and layouting purposes. These props vary per component.
To read more about the system, click here to check out its dedicated page.
Show
Visibility of the banner is controlled by the prop, and clicking the close button will call the passed in function. This enables you to programmatically show and hide the banner.
Important announcement regarding the status of your delivery
Appearance
Banners should be used sparingly to communicate cleary the severity of the issue or situation. The severity can be indicated by using a different .
Important announcement regarding the status of your delivery
Important announcement regarding the status of your delivery
Important announcement regarding the status of your delivery
CloseHidden
If you don't need a close button, you can simply hide it with the prop.
Close button can be hidden with the iconHidden prop.