import clsx from 'clsx'; import { ReactNode } from 'react'; import { VTooltip } from './shadcn/tooltip'; import { Info } from 'lucide-react'; interface FormItemProps { label: any; children: ReactNode; childrenId?: string; className?: string; description?: ReactNode; required?: boolean; direction?: "row" | "column" | "row-reverse"; disabled?: boolean; /** When true, the label row stretches to full width. Useful when placing actions (e.g. buttons) inside the label. */ fullWidthLabel?: boolean; } export function FormItem({ description, required, label, className, direction = "column", children, disabled = false, fullWidthLabel = false, childrenId }: FormItemProps) { return (