'use client'; import Price from 'components/price'; import { cn } from 'lib/utils'; import { ReactNode, useState } from 'react'; const options = ['Included', 'Premium Labor', '+1 Year'] as const; type Option = (typeof options)[number]; const plans: Array<{ key: Option; template: ReactNode; price: number; }> = [ { template: 3-Year Warranty, price: 0, key: 'Included' } ]; const WarrantySelector = () => { const [selectedOptions, setSelectedOptions] = useState