A minimal and lite toast notification for react ⚡.
UI
Install
npm install --save react-lite-toast
or
yarn add react-lite-toast
Usage
or
;;; ;
Props
Prop | Description |
---|---|
type string |
Required. One of success , error , warning , info |
title string |
Required. The title of the toast notifaction. |
description string |
Required: The content of the toast notification |
position: string |
Required. One of bottomup , topdown , topleft , topright ,bottomleft , bottomright |
duration number |
Required: The total time duration of toast. i.e, 1500 |
closeButton boolean |
Optional: default to false. |
Contributors
Release
You can view the latest release note here
Inspiration
License
MIT © ajinkabeer