plane/web/components/web-view/label.tsx
2023-09-05 14:42:34 +05:30

8 lines
241 B
TypeScript

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>
);