0.0.9 • Published 6 years ago

react-little-toast v0.0.9

Weekly downloads
25
License
-
Repository
github
Last release
6 years ago

Introduction

A simplest Toast react component.

Install

npm install react-little-toast

Usage

DEMO

import Toast from 'react-little-toast';

Toast.info({ message: 'Hello world' });
Toast.success({ message: 'Success' });
Toast.error({ message: 'Error' });

// timeout is passed to customize toast duration, default to 3000ms
Toast.info({ message: 'Custom timeout', timeout: 3000 });

Licenes

MIT License
0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.2

6 years ago