UNPKG

synapse-react-client

Version:

[![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synapse-react-client) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettie

30 lines 1.23 kB
import { CardLabel } from '@/components/row_renderers/utils/CardFooter'; import { SxProps } from '@mui/material'; import { DescriptionConfig } from './CardContainerLogic'; import { GenericCardProps } from '@/components/GenericCard/GenericCard'; import { SustainabilityScorecardProps } from './SustainabilityScorecard/SustainabilityScorecard'; export type HeaderCardVariant = 'HeaderCard' | 'HeaderCardV2'; export type HeaderCardProps = { type: string; title: string; subTitle?: string; description: string; secondaryLabelLimit?: number; values?: CardLabel[]; isAlignToLeftNav?: boolean; descriptionConfig?: DescriptionConfig; charCountCutoff?: number; href?: string; target?: string; icon: React.ReactNode; headerCardVariant?: HeaderCardVariant; cardTopContent?: React.ReactNode; ctaLinkConfig?: GenericCardProps['ctaLinkConfig']; cardTopButtons?: React.ReactNode; sustainabilityScorecard?: SustainabilityScorecardProps; doiUri?: string; sx?: SxProps; }; declare const HeaderCard: import("react").ForwardRefExoticComponent<HeaderCardProps & import("react").RefAttributes<HTMLDivElement>>; export default HeaderCard; //# sourceMappingURL=HeaderCard.d.ts.map