Is there any way I can use react-toastify
with Reactstrap's Toast
component, or the Bootstrap 4 toast
classes? Here's my current config:
import { toast } from 'react-toastify'
toast.configure({
toastClassName: 'toast', // Bootstrap class
bodyClassName: 'toast-body', // Another Bootstrap class
});
To be clear, I am using the following libraries:
- React Toastify: https://github.com/fkhadra/react-toastify
- Reactstrap: https://reactstrap.github.io
I would really like to be able to use this component as the Toast: