'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'
},
{
template: Premium Labor,
price: 150,
key: 'Premium Labor'
},
{
template: +1 Year,
price: 100,
key: '+1 Year'
}
];
const WarrantySelector = () => {
const [selectedOptions, setSelectedOptions] = useState