* Removed old root UI components. * Fixed import path * Moved first v2 components to new components dir. * Changed icon to not import from root, since it somehow creates a recursive import * Removed irrelevant todo * Added docs for new components * Fixed type errors * Update packages/ui/components/index.ts Removing as per comment Co-authored-by: sean-brydon <[email protected]>
24 lines
633 B
TypeScript
24 lines
633 B
TypeScript
import { classNames } from "@calcom/lib";
|
|
|
|
export function Divider({ className, ...props }: JSX.IntrinsicElements["hr"]) {
|
|
className = classNames(className, "gray-200");
|
|
return <hr className={className} {...props} />;
|
|
}
|
|
|
|
export function VerticalDivider({ className, ...props }: JSX.IntrinsicElements["svg"]) {
|
|
className = classNames(className, "mx-3");
|
|
return (
|
|
<svg
|
|
className={className}
|
|
{...props}
|
|
width="2"
|
|
height="16"
|
|
viewBox="0 0 2 16"
|
|
ry="6"
|
|
fill="none"
|
|
xmlns="http://www.w3.org/2000/svg">
|
|
<rect width="2" height="16" rx="1" fill="#D1D5DB" />
|
|
</svg>
|
|
);
|
|
}
|