cal.pub0.org/packages/ui/components/form/inputs/Label.tsx

12 lines
296 B
TypeScript

import { classNames } from "@calcom/lib";
export function Label(props: JSX.IntrinsicElements["label"]) {
return (
<label
{...props}
className={classNames("text-default text-emphasis mb-2 block text-sm font-medium", props.className)}>
{props.children}
</label>
);
}