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

12 lines
296 B
TypeScript
Raw Normal View History

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