Simple, renderless, React toast library
npm install --save react-toastful
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>
</>
);
}
}
MIT © shannonrothe