/// import { Props as LinkProps } from '../link/link.js'; import Media from '../media/index.js'; import { LinkRouter, mpcTheme as mpcThemeType } from '../types/index.js'; import { defaultClassNames } from './styles.js'; export type cardType = '1' | '2' | '2a' | '2b' | '2c' | '2d' | '2e' | '2f' | '2g' | '2h' | '2i' | '3' | '3a'; export type CardNumberType = '1' | '2' | '3'; export type cnType = typeof defaultClassNames; export type CardProps = { className?: string; data1?: string | JSX.Element; data2?: string | JSX.Element; data2new?: string | JSX.Element; data2a?: string | JSX.Element; data2b?: string | JSX.Element; data2c?: string | JSX.Element; data3?: string | JSX.Element; data4?: string | JSX.Element; data5?: string | JSX.Element; backgroundVideo?: (typeof Media)['propTypes']['backgroundVideo'] | any; images?: (typeof Media)['propTypes']['image'][] | any; classNames?: cnType; loading?: boolean; button1Text?: string; button2Text?: string; type?: cardType; mobileType?: undefined | Exclude; mpcTheme?: mpcThemeType; flat?: boolean; mobileForced?: boolean; mobileBreakPointWidth?: string; handleHeartToggle?: Function; handleButton1Click?: Function; handleButton2Click?: Function; heartActive?: boolean; hideHeart?: boolean; floatingHeart?: boolean; rating?: string; ratingCount?: number | string; hideRatingCount?: boolean; mediaBadgeLabel?: string; linkHref?: LinkProps['to']; linkExternal?: LinkProps['external']; linkRouter?: LinkRouter; onClick?: React.MouseEventHandler; backgroundVideoOnHover?: boolean; imageSlideShowOnHover?: boolean; }; export type CardContentType = Pick & { cardVariantType: string; cardNumberType: CardNumberType; cn: cnType; buton2Theme?: string; isMobileScreen?: boolean; shouldHideDividerContent?: boolean; showRatingCount?: boolean; };