handle update data in tab dashboard
This commit is contained in:
@@ -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"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user