// components/Switch.tsx 'use client' import React from 'react' type SwitchProps = { id: string checked: boolean onChange: (checked: boolean) => void labelLeft?: string labelRight?: string className?: string } export default function Switch({ id, checked, onChange, labelLeft, labelRight, className = '', }: SwitchProps) { return (