cal.pub0.org/packages/ui/v2/ButtonGroup.tsx

10 lines
311 B
TypeScript

import React from "react";
import classNames from "@calcom/lib/classNames";
type Props = { children: React.ReactNode; combined?: boolean };
export default function ButtonGroup({ children, combined = false }: Props) {
return <div className={classNames("flex", !combined && "space-x-2")}>{children}</div>;
}