0.1.23 • Published 4 years ago
react-geek-toast v0.1.23
Description
Toast Component for react.
Installation
yarn add react-geek-toast
for geeks
import ToastMarker, { toastSuccess, toastWarning, toastInfo, toastError } from 'react-geek-toast';
...
// put this somewhere in app
<ToastMarker />
// sample
toastSuccess('Hello World')
toastWarning('Hello World')
toastInfo('Hello World')
toastError('Hello World')