export interface DataCardProps { /** * The title of the data card */ title: string; /** * The main value to display */ value: number; /** * Optional unit to display after the value (e.g., "$", "%", etc.) */ unit?: string; /** * Number of decimal places to display * @default 0 */ decimals?: number; /** * Background style for the card * @default "linear-gradient(135deg, #1890ff11 0%, #1890ff22 100%)" */ background?: string; /** * Value showing the trend percentage (positive or negative) * @default 0 */ trendValue?: number; /** * Number of decimal places to display for the trend value * @default 1 */ trendDecimals?: number; /** * Whether to show the trend indicator * @default true */ showTrend?: boolean; /** * Whether to show the sparkline chart * @default true */ showChart?: boolean; /** * Data points for the sparkline chart * @default [30, 40, 35, 50, 49, 60, 70, 91, 125] */ chartData?: number[]; }