13 lines
339 B
TypeScript
13 lines
339 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", className)}
|
|
{...restProps}>
|
|
{props.children}
|
|
</label>
|
|
);
|
|
}
|