2022-09-05 15:15:26 +00:00
|
|
|
import { classNames } from "@calcom/lib";
|
|
|
|
|
2023-01-05 12:04:28 +00:00
|
|
|
export function Divider({ className, ...props }: JSX.IntrinsicElements["hr"]) {
|
2023-04-05 18:14:46 +00:00
|
|
|
className = classNames("border-subtle", className);
|
2023-01-05 12:04:28 +00:00
|
|
|
return <hr className={className} {...props} />;
|
|
|
|
}
|
|
|
|
|
|
|
|
export function VerticalDivider({ className, ...props }: JSX.IntrinsicElements["svg"]) {
|
2023-04-05 18:14:46 +00:00
|
|
|
className = classNames("mx-3 text-muted", className);
|
2022-09-05 15:15:26 +00:00
|
|
|
return (
|
|
|
|
<svg
|
|
|
|
className={className}
|
|
|
|
{...props}
|
|
|
|
width="2"
|
|
|
|
height="16"
|
|
|
|
viewBox="0 0 2 16"
|
2022-09-07 11:04:12 +00:00
|
|
|
ry="6"
|
2022-09-05 15:15:26 +00:00
|
|
|
fill="none"
|
|
|
|
xmlns="http://www.w3.org/2000/svg">
|
2023-04-05 18:14:46 +00:00
|
|
|
<rect width="2" height="16" rx="1" fill="currentColor" />
|
2022-09-05 15:15:26 +00:00
|
|
|
</svg>
|
|
|
|
);
|
|
|
|
}
|