From e7bae279434e09b73469bdffac40bd09db516de9 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Sat, 15 Jun 2024 21:00:29 +0530 Subject: [PATCH] feat: add button --- src/components/atoms/buttons/AddButton.tsx | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 src/components/atoms/buttons/AddButton.tsx diff --git a/src/components/atoms/buttons/AddButton.tsx b/src/components/atoms/buttons/AddButton.tsx new file mode 100644 index 00000000..cc4f77f8 --- /dev/null +++ b/src/components/atoms/buttons/AddButton.tsx @@ -0,0 +1,36 @@ +import { IconButton } from "@mui/material"; +import { Add } from "@mui/icons-material"; +import React, { FC } from "react"; + +interface AddButtonProps { + handleClick: () => void; + size?: "small" | "medium" | "large"; + title?: string; + disabled?: boolean; + hoverEffect?: boolean; + style?: React.CSSProperties; +} + +export const AddButton: FC = ( + { handleClick, + size , + title, + disabled = false, + hoverEffect= true, + style + }) => { + return ( + + {title} + + ); +};