custom notification and duplicate index of datatable to main and start making context for table filtering
This commit is contained in:
@@ -1,15 +1,9 @@
|
||||
import {Button} from "@mui/material";
|
||||
import {toast} from "react-toastify";
|
||||
|
||||
const Toolbar = ({columns}) => {
|
||||
|
||||
const notif = () => {
|
||||
toast("Wow so easy!")
|
||||
}
|
||||
|
||||
return (
|
||||
<>
|
||||
<Button onClick={notif}>add something</Button>
|
||||
<Button>add something</Button>
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user