16 lines
376 B
TypeScript
16 lines
376 B
TypeScript
|
|
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>
|
||
|
|
);
|
||
|
|
}
|