From 2419df9bdc2d2eb0832041a34e2f47edd3d5f141 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Sat, 15 Jun 2024 21:01:41 +0530 Subject: [PATCH] feat: edit button --- src/components/atoms/buttons/EditButton.tsx | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/components/atoms/buttons/EditButton.tsx diff --git a/src/components/atoms/buttons/EditButton.tsx b/src/components/atoms/buttons/EditButton.tsx new file mode 100644 index 00000000..d66da56e --- /dev/null +++ b/src/components/atoms/buttons/EditButton.tsx @@ -0,0 +1,17 @@ +import { IconButton } from "@mui/material"; +import { Edit } from "@mui/icons-material"; +import React, { FC } from "react"; + +interface EditButtonProps { + handleClick: () => void; + size?: "small" | "medium" | "large"; +} + +export const EditButton: FC = ({ handleClick, size }) => { + return ( + + + + ); +};