UNPKG

@grafana/ui

Version:
13 lines (12 loc) 465 B
import React from 'react'; import { type FieldConfig, type FieldSparkline } from '@grafana/data'; import { type GraphFieldConfig } from '@grafana/schema'; import { type Themeable2 } from '../../types/theme'; export interface SparklineProps extends Themeable2 { width: number; height: number; config?: FieldConfig<GraphFieldConfig>; sparkline: FieldSparkline; showHighlights?: boolean; } export declare const Sparkline: React.FC<SparklineProps>;