@visa/nova-react
Version:
Visa Product Design System Nova React library. Compatible with React ^19.
22 lines (21 loc) • 903 B
TypeScript
import type { ComponentPropsWithRef, ElementType } from 'react';
export type ContentCardProperties<ET extends ElementType = 'div'> = {
/** Show bottom border on content card */
borderBlockEnd?: boolean;
/** Card Clickable */
clickable?: boolean;
/** Tag of Component */
tag?: ElementType;
} & ComponentPropsWithRef<ET>;
/**
* Compact displays summarizing or directing users to more information.
* @docs {@link https://design.visa.com/components/content-card/?code_library=react | See Docs}
* @related content-card-body, content-card-image, content-card-subtitle, content-card-title
* @vgar TODO
* @wcag TODO
*/
declare const ContentCard: {
<ET extends ElementType = "div">({ borderBlockEnd, className, clickable, tag: Tag, ...remainingProps }: ContentCardProperties<ET>): import("react/jsx-runtime").JSX.Element;
displayName: string;
};
export default ContentCard;