leva-r3f-stats
Version:
A small plugin to display React Three Fiber stats in Leva
19 lines • 639 B
TypeScript
import { RingBuffer } from '../utils/buffer';
interface GraphCanvasProps {
data: RingBuffer;
color: string;
min: number;
max: number;
height: number;
label: string;
fullLabel?: string;
unit: string;
currentValue: number;
backgroundColor?: string;
gridColor?: string;
fontSize?: number;
showFullLabel?: boolean;
}
export declare function GraphCanvas({ data, color, min, max, height, label, fullLabel, unit, currentValue, backgroundColor, gridColor, fontSize, showFullLabel }: GraphCanvasProps): import("react/jsx-runtime").JSX.Element;
export {};
//# sourceMappingURL=GraphCanvas.d.ts.map