1 import type { CSSProperties, FC, PropsWithChildren } from 'react';
3 import { Card as CoreCard } from '@proton/atoms';
4 import clsx from '@proton/utils/clsx';
6 import { type CardType, getCardTheme } from './utils';
10 type ItemCardProps = { className?: string; style?: CSSProperties; type?: CardType; onClick?: () => void };
12 export const Card: FC<PropsWithChildren<ItemCardProps>> = ({ children, className, style, type, onClick }) => (
18 className={clsx(getCardTheme(type), 'pass-card', `pass-card:${type}`, className)}