import { InputHTMLAttributes } from "react"; import { cn } from "@utils/utils"; interface RadioProps extends Omit, 'type'> { label?: string; } export function Radio({ className, label, checked, ...props }: RadioProps) { // Cercle extérieur (Creusé) const lightInset = "shadow-[inset_4px_4px_8px_#c5c5c5,inset_-4px_-4px_8px_#ffffff]"; const darkInset = "dark:shadow-[inset_4px_4px_8px_#121926,inset_-4px_-4px_8px_#2a3850]"; // Bille intérieure (Bombée) const lightExtrude = "shadow-[2px_2px_4px_#c5c5c5,-2px_-2px_4px_#ffffff]"; const darkExtrude = "dark:shadow-[2px_2px_4px_#121926,-2px_-2px_4px_#2a3850]"; return ( {/* Le Cercle */} {/* La Bille centrale */} {label && ( {label} )} ); }