masterplan page
This commit is contained in:
@@ -12,13 +12,13 @@ const Switch = ({ switcher, onClick }: ISwitchProps) => {
|
||||
|
||||
return (
|
||||
<div
|
||||
className={`w-10 h-6 zoom-280 relative rounded-full cursor-pointer transition-all duration-300 ease-in-out ${
|
||||
className={`w-[40px] h-[24px] zoom-280 relative rounded-full cursor-pointer transition-all duration-300 ease-in-out ${
|
||||
switcher.isSwitched ? "bg-[#00BED7]" : "bg-[#E2E2DC]"
|
||||
}`}
|
||||
onClick={handleOnClick}
|
||||
>
|
||||
<div
|
||||
className={`w-5 h-5 bg-[#fff] rounded-full absolute transition-all duration-300 ease-in-out top-[2px]
|
||||
className={`w-[20px] h-[20px] bg-[#fff] rounded-full absolute transition-all duration-300 ease-in-out top-[2px]
|
||||
${switcher.isSwitched ? "left-[18px]" : "left-[2px]"}`}
|
||||
></div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user