first commit
This commit is contained in:
15
calcom/packages/ui/components/form/inputs/Label.tsx
Normal file
15
calcom/packages/ui/components/form/inputs/Label.tsx
Normal file
@@ -0,0 +1,15 @@
|
||||
import { classNames } from "@calcom/lib";
|
||||
|
||||
export function Label(props: JSX.IntrinsicElements["label"]) {
|
||||
const { className, ...restProps } = props;
|
||||
return (
|
||||
<label
|
||||
className={classNames(
|
||||
"text-default text-emphasis mb-2 block text-sm font-medium leading-none",
|
||||
className
|
||||
)}
|
||||
{...restProps}>
|
||||
{props.children}
|
||||
</label>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user