2023-09-28 18:04:51 +00:00
|
|
|
import type { ReactNode } from "react";
|
|
|
|
|
|
|
|
import { classNames } from "@calcom/lib";
|
|
|
|
|
|
|
|
const SectionBottomActions = ({
|
|
|
|
align = "start",
|
|
|
|
children,
|
|
|
|
className,
|
|
|
|
}: {
|
|
|
|
align?: "start" | "end";
|
|
|
|
children: ReactNode;
|
|
|
|
className?: string;
|
|
|
|
}) => {
|
|
|
|
return (
|
|
|
|
<div
|
|
|
|
className={classNames(
|
2023-10-11 09:04:54 +00:00
|
|
|
"border-subtle bg-muted flex rounded-b-lg border px-6 py-4",
|
2023-09-28 18:04:51 +00:00
|
|
|
align === "end" && "justify-end",
|
|
|
|
className
|
|
|
|
)}>
|
|
|
|
{children}
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
};
|
|
|
|
|
|
|
|
export default SectionBottomActions;
|