0.3.2 • Published 3 years ago
react-toastful v0.3.2
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