Files
ADHA_mobile_project/src/components/ResizeButton.tsx
T
2024-02-21 18:18:27 +05:00

22 lines
549 B
TypeScript

import ResizeIcon from "../icons/ResizeIcon";
type ResizeButtonProps = {
handleOnHelpClick: () => void;
className?: string;
};
const ResizeButton = ({ handleOnHelpClick, className }: ResizeButtonProps) => {
return (
<button
className={`bg-white border border-[#C7BDBA] rounded-full flex justify-center items-center hover:bg-secondary transition-all duration-200 ${
className ? className : "h-8 w-8"
} `}
onClick={handleOnHelpClick}
>
<ResizeIcon />
</button>
);
};
export default ResizeButton;