Sha256: 8daf4427a95e0202334e90c4cbcb6fbef5cc7108013c003b406b85f68af2eecb
Contents?: true
Size: 386 Bytes
Versions: 2
Compression:
Stored size: 386 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
kaze-0.8.0 | stubs/inertia-react-ts/app/javascript/Components/InputLabel.tsx |
kaze-0.7.0 | stubs/inertia-react-ts/app/javascript/Components/InputLabel.tsx |