@grafana/ui
Version:
Grafana Components Library
16 lines (15 loc) • 845 B
TypeScript
import { type DisplayValue, type DisplayValueAlignmentFactors, type FieldSparkline, type GrafanaTheme2 } from '@grafana/data';
import { type RadialShape, type RadialTextMode, type RadialGaugeDimensions } from './types';
interface RadialTextProps {
displayValue: DisplayValue;
theme: GrafanaTheme2;
dimensions: RadialGaugeDimensions;
textMode: Exclude<RadialTextMode, 'auto'>;
shape: RadialShape;
sparkline?: FieldSparkline;
alignmentFactors?: DisplayValueAlignmentFactors;
valueManualFontSize?: number;
nameManualFontSize?: number;
}
export declare const RadialText: import("react").MemoExoticComponent<({ displayValue, theme, dimensions, textMode, shape, sparkline, alignmentFactors, valueManualFontSize, nameManualFontSize, }: RadialTextProps) => import("react/jsx-runtime").JSX.Element | null>;
export {};