@react-three/drei
Version:
useful add-ons for react-three-fiber
15 lines (14 loc) • 510 B
TypeScript
import { ForwardRefComponent } from '../helpers/ts-utils';
import * as React from 'react';
import Stats from 'stats-gl';
type StatsOptions = ConstructorParameters<typeof Stats>[0];
export type StatsGlProps = Partial<StatsOptions> & {
id?: string;
clearStatsGlStyle?: boolean;
showPanel?: number;
className?: string;
parent?: React.RefObject<HTMLElement>;
ref?: React.RefObject<HTMLElement>;
};
export declare const StatsGl: ForwardRefComponent<StatsGlProps, HTMLDivElement>;
export {};