@djungst/react-flash

1.0.2 • Public • Published

React Flash

A React Flash component for delivering user message

Install

  • yarn add @djungst/react-flash or npm install @djungst/react-flash

props

  • message (string): The message to be displayed
  • msgType (string): Styling for the message (info, error, success)
  • duration ( integer default 15000 ): How long to display the flash message

/@djungst/react-flash/

    Package Sidebar

    Install

    npm i @djungst/react-flash

    Weekly Downloads

    5

    Version

    1.0.2

    License

    MIT

    Last publish

    Collaborators

    • djungst