Just toastify in any react component
npm install toastify-simply-reactJust toasts got better and simpler

!npm


!Codecov
!GitHub Workflow Status
Visit official site for better overview and documentation.
``markdownyarn add toastify-simply-react
or
Demo
A demo in live action is worth than million words.
See Live Action
Available props list
How to use
It's quiet simple
`jsx
With hooks
import {useToast, Toast} from "toastify-simply-react";
function MyComponent() {
const [toast, toastRef] = useToast(); // generate toast and toastRef
return (
// Toast component
);
}With functions
import {toastClass, toastFunction, Toast} from "toastify-simply-react";
class MyComponent extends Component{
toastRef = toastClass(); // generate toastRef
componentDidMount() {
this.toast = toastFunction(toastRef); // generate toast
}
render() {
return (
// Toast component
);
}
}
`Documentation
Github PagesContribution
Financial Contribution
Contribute, if you like the work, you can support us
$3
Code Contribution
`markdown
Ways to contribute
by coding some stuff together
- Fork the repository from master branch
- Fixed the things in your branch or forked repo
- Generate the pull request back to master branch to this libraryraise an issue
- Create an issue here
- Add required labels to it
- Issue will be reviewed, fixed and released as per the priority
``Any special requirement or feature will be handled at priority, with minimal financial assistance, you can email us directly and contribute here.
Latest release here
All releases here