@first-team-339/ntcore-react
Version:
React bindings for ntcore-ts-client.
21 lines (20 loc) • 535 B
TypeScript
export type GaugeProps = {
value: number;
min?: number;
max?: number;
label?: string;
width?: number;
showValue?: boolean;
};
/**
* Gauge component used for displaying a value as a range
*
* ---
*
* Styling is done using CSS variables:
*
* --team-primary-color: The color of the gauge when filled
*
* --team-secondary-neutral-color: The color of the gauge when empty
*/
export declare function Gauge({ width, value, min, max, label, showValue, }: GaugeProps): import("react/jsx-runtime").JSX.Element;