add prettier formatter to all file

This commit is contained in:
Ehsan
2024-09-25 11:03:44 +03:30
parent fa38ee2b21
commit eda896e917
410 changed files with 47636 additions and 43842 deletions
+18 -16
View File
@@ -1,21 +1,23 @@
import ArrowDownF from "@/components/icons/ArrowDownF"
import { Button } from "@mui/material"
import ArrowDownF from "@/components/icons/ArrowDownF";
import { Button } from "@mui/material";
function HeadMenu({ title, name, isOpen, changeMenu }) {
return (
<Button
className="!flex lg:!hidden !items-center !justify-between !w-full !py-[8px] !px-[4px] !border !border-solid !border-transparent !rounded-bl-none !rounded-br-none !border-b-[#E5E5E5]"
onClick={() => changeMenu(name)}
>
<p className="text-[#262866] text-[14px] font-medium">{title}</p>
<div className={`
return (
<Button
className="!flex lg:!hidden !items-center !justify-between !w-full !py-[8px] !px-[4px] !border !border-solid !border-transparent !rounded-bl-none !rounded-br-none !border-b-[#E5E5E5]"
onClick={() => changeMenu(name)}
>
<p className="text-[#262866] text-[14px] font-medium">{title}</p>
<div
className={`
transition-all duration-500
${isOpen ? 'rotate-180' : 'rotate-0'}
`}>
<ArrowDownF />
</div>
</Button>
)
${isOpen ? "rotate-180" : "rotate-0"}
`}
>
<ArrowDownF />
</div>
</Button>
);
}
export default HeadMenu
export default HeadMenu;