first commit
This commit is contained in:
18
calcom/packages/features/insights/components/Card.tsx
Normal file
18
calcom/packages/features/insights/components/Card.tsx
Normal file
@@ -0,0 +1,18 @@
|
||||
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>
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user