Used to grab attention for important system-wide updates or important information that impacts how users interact with the system. Banners are not dismissible and only disappear when no longer required.
open prop to true.red, green, blue, orange, and neutral and can be changed by passing the color prop.blue.sm, md, lg, and responsive by setting the size prop.lg.top-left, top-right, bottom-left, bottom-right, top-center, and bottom-center by setting the position prop.top-right.@ocean-network-express/magenta-ui/icons package.prop icon support to add icon or other content to the left side.actions prop.actions prop is an array of objects with the following properties:
label: The text to display on the button.color is neutral, variant is ghost, and size is md.urls prop.urls prop is an array of objects with the following properties:
displayText: The text to display on the link.urls and actions by passing custom React componentclosable prop to false.onClose prop after a certain duration.duration prop.prop to 0 or Infinity.InlineBanner component.InlineBanner component accepts all the props of Banner component except open prop.InlineBanner component will have inline props set to true.