cal.pub0.org/packages/features/insights/components/Card.tsx

19 lines
408 B
TypeScript

import { Card } from "@tremor/react";
import { classNames } from "@calcom/lib";
interface ICardProps {
children: React.ReactNode;
className?: string;
}
export const CardInsights = (props: ICardProps) => {
const { children, className = "", ...rest } = props;
return (
<Card className={classNames(`ring-subtle bg-muted shadow-none `, className)} {...rest}>
{children}
</Card>
);
};