2.0.0 • Published 11 months ago
@fidelisppm/banner-message v2.0.0
Banner Message
This is a simple banner message which appears at the top of your website and displays a message with appropriate colors. If both isWarning and isError are false, the message will automatically disappear after ten seconds.
Props
message (string)
The message to be displayed to the user
isWarning (bool)
If true, the background of the message is yellow. Defaults to false.
isError (bool)
If true, the background of the message is red. Defaults to false.