@useloops/design-system
Version:
The official React based Loops design system
22 lines (19 loc) • 627 B
TypeScript
import { FunctionComponent, ReactNode } from 'react';
import { QuestionType } from '../utils/mapQuestionTypeToLabel.js';
interface MiniResultCardProps {
testTitle: string;
cardNumber: number;
question: string;
questionType: QuestionType;
assetThumbnail: string;
assetType: 'video' | 'image';
statTitle: string;
statValue?: number;
onClickAsset?: () => void;
resultGraph: ReactNode;
subCopy?: string;
onClickShowMore?: () => void;
}
declare const MiniResultCard: FunctionComponent<MiniResultCardProps>;
export { MiniResultCard as default };
export type { MiniResultCardProps };