+
Returned Name
+
+
+ {purchaseType === TRANSACTION_TYPES.LEASE
+ ? 'Lease for 1 Year'
+ : 'Permabuy'}
+
+
+ setPurchaseType(
+ checked ? TRANSACTION_TYPES.BUY : TRANSACTION_TYPES.LEASE,
+ )
+ }
+ className={{
+ root: 'outline-none size-full w-[3rem] rounded-full border border-dark-grey',
+ thumb:
+ 'block size-[21px] translate-x-0.5 rounded-full bg-primary transition-transform duration-100 will-change-transform data-[state=checked]:translate-x-[1.43rem]',
+ }}
+ />
+
+