import clsx from 'clsx';
import { LabelHTMLAttributes } from 'react';
interface LabelProps
extends Omit, HTMLLabelElement>, 'children' | 'title'> {
text?: string
tooltip?: string
}
function Label({ text, tooltip, className, ...restProps }: LabelProps) {
if (!text) {
return null;
}
return (
);
}
export default Label;