Sha256: a6b72fd725766907b07a8e2a928a135195a81d1cb0544c729d4c44311732b718
Contents?: true
Size: 369 Bytes
Versions: 10
Compression:
Stored size: 369 Bytes
Contents
import { LabelHTMLAttributes } from 'react' export default function InputLabel({ value, className = '', children, ...props }: LabelHTMLAttributes<HTMLLabelElement> & { value?: string }) { return ( <label {...props} className={`block font-medium text-sm text-gray-700 dark:text-gray-300 ${className}`}> {value ? value : children} </label> ) }
Version data entries
10 entries across 10 versions & 1 rubygems