plane/web/components/web-view/label.tsx

8 lines
241 B
TypeScript
Raw Permalink Normal View History

2023-09-05 09:12:34 +00:00
export const Label: React.FC<
React.DetailedHTMLProps<React.LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>
> = (props) => (
<label className="block text-base font-medium mb-[5px]" {...props}>
{props.children}
</label>
);