@mui/x-charts
Version:
The community edition of MUI X Charts components.
15 lines • 516 B
TypeScript
import * as React from 'react';
import { 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): React.JSX.Element | null;
declare namespace GaugeValueText {
var propTypes: any;
}
export { GaugeValueText };