react-toastful
v0.3.2
Published
Simple, configurable, and customizable React toast library
Downloads
3
Readme
react-toastful
Simple, renderless, React toast library
Install
npm install --save react-toastful
Usage
import * as React from "react";
import { Toastful, toastful } from "react-toastful";
class App extends React.Component {
render() {
return (
<>
<Toastful />
<button onClick={() => toastful("Hello, World!")}>Show Toast</button>
</>
);
}
}
More Information
License
MIT © shannonrothe