17 lines
692 B
JavaScript
17 lines
692 B
JavaScript
import { Button } from "@mui/material";
|
|
|
|
function ButtonMenu({ setActive }) {
|
|
return (
|
|
<Button
|
|
onClick={() => setActive(true)}
|
|
className="!py-[6px] !px-[2px] !flex !p-0.5 !w-[24px] !h-[24px] !flex-col !justify-between !items-center"
|
|
>
|
|
<span className="min-h-[2px] transition-all duration-500 ease-in-out rounded-[40px] bg-[#6C757D] rotate-0 w-full"></span>
|
|
<span className="w-full min-h-[2px] transition-all duration-500 ease-in-out rounded-[40px] bg-[#6C757D] rotate-180"></span>
|
|
<span className="min-h-[2px] transition-all duration-500 ease-in-out rounded-[40px] bg-[#6C757D] rotate-0 w-full"></span>
|
|
</Button>
|
|
);
|
|
}
|
|
|
|
export default ButtonMenu;
|