@mui/x-charts
Version:
The community edition of MUI X Charts components.
14 lines • 511 B
TypeScript
import { type ChartsTextProps } from "../ChartsText/index.js";
export interface GaugeFormatterParams {
value: number | null;
valueMin: number;
valueMax: number;
}
export interface GaugeValueTextProps extends Omit<ChartsTextProps, 'text'> {
text?: string | ((params: GaugeFormatterParams) => string | null);
}
declare function GaugeValueText(props: GaugeValueTextProps): import("react/jsx-runtime").JSX.Element | null;
declare namespace GaugeValueText {
var propTypes: any;
}
export { GaugeValueText };