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

15 lines
333 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 leading-none",
props.className
)}>
{props.children}
</label>
);
}