complete toast and notification for keeping data in local storage for filtering and move on next step
This commit is contained in:
@@ -1,8 +1,16 @@
|
||||
import {Button} from "@mui/material";
|
||||
import {toast} from "react-toastify";
|
||||
|
||||
const Toolbar = ({columns}) => {
|
||||
|
||||
const notif = () => {
|
||||
toast("Wow so easy!")
|
||||
}
|
||||
|
||||
return (
|
||||
<Button>add something</Button>
|
||||
<>
|
||||
<Button onClick={notif}>add something</Button>
|
||||
</>
|
||||
)
|
||||
}
|
||||
export default Toolbar
|
||||
|
||||
Reference in New Issue
Block a user