xLog/src/components/ui/FieldLabel.tsx

8 lines
171 B
TypeScript

export const FieldLabel = ({ id, label }: { id?: string; label: string }) => {
return (
<label className="form-label" htmlFor={id}>
{label}
</label>
)
}