npm.io
1.0.1 • Published 6 years ago

material-toast

Licence
MIT
Version
1.0.1
Deps
4
Size
6 kB
Vulns
0
Weekly
0

material-toast

A component based on react framework <material-ui> to show toast

Usage

import Toast from "material-toast"

Toast.info({ message: "hello toast" })
Toast.success({ message: "hello toast" })
Toast.warning({ message: "hello toast" })
Toast.error({ message: "hello toast" })

Able to Pass any other option in as param to change behaviour, more infomation refer to Material-ui