kenken999's picture
update
4f8c3bf
raw
history blame contribute delete
351 Bytes
export default function InputLabel({
value,
className = '',
children,
...props
}) {
return (
<label
{...props}
className={
`block text-sm font-medium text-gray-700 ` +
className
}
>
{value ? value : children}
</label>
);
}