Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/glennreyes/toast-system
🥪 A minimalistic Toast notification system for React
https://github.com/glennreyes/toast-system
notification react react-component system toast
Last synced: 10 days ago
JSON representation
🥪 A minimalistic Toast notification system for React
- Host: GitHub
- URL: https://github.com/glennreyes/toast-system
- Owner: glennreyes
- Created: 2018-11-21T20:49:33.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-11-25T21:20:07.000Z (about 6 years ago)
- Last Synced: 2024-12-16T11:53:03.776Z (about 1 month ago)
- Topics: notification, react, react-component, system, toast
- Language: JavaScript
- Homepage:
- Size: 42 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# toast-system
A minimalistic Toast notification system for React
- Zero dependencies
- Style-agnostic## Usage
```sh
npm install react-toast
``````js
import { ToastsProvider, Toast } from 'react-toast';const App = ReactDOM.render(
My app
{toast => toast(Clicked!, 1500)}>}
,
document.getElementById('root')
);
```