import { cn } from '@/lib/utils';
import { LabelHTMLAttributes } from 'react';

export default function InputLabel({ value, className = '', children, ...props }: LabelHTMLAttributes<HTMLLabelElement> & { value?: string }) {
    return (
        <label {...props} className={cn('block text-[13px] font-medium text-foreground/90', className)}>
            {value ? value : children}
        </label>
    );
}
