Banner
A Banner displays an important and succinct message. It can also provide actions for the user to address, or dismiss. It requires a user action, for it to be dismissed. Banners should appear at the top of the screen, below a top app bar.
Usage
import { HvBanner } from "@hitachivantara/uikit-react-core";
Source
Package
nothing to show...
Actions
You can add a set of actions to the banner by specifying the actions
prop. The onAction
prop is a callback function that is called when an action is clicked.
Custom icons
You can pass a custom icon to the banner by using the customIcon
prop.
Controlled
Controlled banner. Click the buttons to display different banners.