UNPKG

@useloops/design-system

Version:

The official React based Loops design system

28 lines (25 loc) 797 B
import { FunctionComponent } from 'react'; import { KpiIndicatorColor } from '../KpiIndicator/utils.js'; interface QuestionStats { questionBody: string; questionData?: number[]; questionTitle: string; questionType: 'scale' | 'slider'; questionUrl: string; testTitle: string; testCountry: string; localeTooltipText: string; averageScore: number; scoreHelpText: string; } interface KpiDataPopoverProps { indicatorColor: KpiIndicatorColor; kpiTitle: string; tagTitle: string; combinedAverageValue: number; combinedAveragePercent: number; linkedQuestions: QuestionStats[]; } declare const KpiDataPopover: FunctionComponent<KpiDataPopoverProps>; export { KpiDataPopover as default }; export type { KpiDataPopoverProps, QuestionStats };