'use client' import { useState } from 'react' type ServiceType = 'web-design' | 'ai-automation' interface ServiceTypeToggleProps { defaultValue: ServiceType onChange: (value: ServiceType) => void } export function ServiceTypeToggle({ defaultValue, onChange }: ServiceTypeToggleProps) { const [value, setValue] = useState(defaultValue) const handleChange = (newValue: ServiceType) => { setValue(newValue) onChange(newValue) } return (
) }