custom notification and duplicate index of datatable to main and start making context for table filtering

This commit is contained in:
2024-06-18 15:02:18 +03:30
parent 9886ed52db
commit 18edfac9f9
16 changed files with 180 additions and 181 deletions

View File

@@ -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>
</>
)
}