handle update data in tab dashboard

This commit is contained in:
Ehsan
2025-06-10 14:27:06 +03:30
parent f52eb43326
commit 72ed07071c
13 changed files with 181 additions and 61 deletions
@@ -1,10 +1,11 @@
import UpdateList from "@/components/icons/UpdateList";
import { Button } from "@mui/material";
function UpdateBtn() {
function UpdateBtn({ updateData }) {
return (
<Button
variant="outlined"
onClick={updateData}
className="!border-[#5559CE] !border-[2px] !flex !items-center !justify-center !gap-2 !text-[14px] !font-medium
!py-[6px] md:!py-2 lg:!py-[9px] !px-[16px] sm:!px-[23px] md:!px-[29px] lg:!px-[36px] !mr-0 md:!mr-4"
>