22 lines
549 B
TypeScript
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;
|