@grafana/ui
Version:
Grafana Components Library
25 lines (24 loc) • 960 B
TypeScript
import { type GrafanaTheme2 } from '@grafana/data';
import { type RadialGaugeDimensions, type RadialShape } from './types';
export interface GlowGradientProps {
id: string;
barWidth: number;
}
export declare function GlowGradient({ id, barWidth }: GlowGradientProps): import("react/jsx-runtime").JSX.Element;
export interface CenterGlowProps {
dimensions: RadialGaugeDimensions;
gaugeId: string;
color?: string;
shape?: RadialShape;
}
export declare function MiddleCircleGlow({ dimensions, gaugeId, color, shape }: CenterGlowProps): import("react/jsx-runtime").JSX.Element;
interface SpotlightGradientProps {
id: string;
dimensions: RadialGaugeDimensions;
angle: number;
roundedBars: boolean;
theme: GrafanaTheme2;
color: string;
}
export declare function SpotlightGradient({ id, dimensions, roundedBars, angle, theme, color }: SpotlightGradientProps): import("react/jsx-runtime").JSX.Element | null;
export {};