feat: look at how this switch goes back and forth very mindful very demure

This commit is contained in:
2024-09-04 12:27:12 -05:00
parent 4397dfb1c5
commit b9358803dd

View File

@@ -15,7 +15,7 @@ const SwitchButton: React.FC = () => {
checked={enabled}
onChange={setEnabled}
className={`${enabled ? 'bg-[#579D42]' : 'bg-gray-400'}
relative inline-flex items-center h-8 w-12 rounded-full transition-colors ease-in-out duration-200`}
relative inline-flex items-center h-8 w-13 rounded-full transition-colors ease-in-out duration-200`}
>
<span
className={`${enabled ? 'translate-x-6' : 'translate-x-1'}