@fidelisppm/banner-message

1.1.1 • Public • Published

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.

Package Sidebar

Install

npm i @fidelisppm/banner-message

Weekly Downloads

1

Version

1.1.1

License

SEE LICENSE IN GIT REPO

Unpacked Size

89.5 kB

Total Files

8

Last publish

Collaborators

  • legendary_linux
  • sapphirecat
  • danyay