import { Children, type LabelHTMLAttributes, type ReactNode } from "react"; type Props = LabelHTMLAttributes & { children: ReactNode; hint?: string }; export function Label({ children, hint, className = "", ...rest }: Props) { const [label, ...fields] = Children.toArray(children); return ( ); }