UNPKG

replay-viewer

Version:

Rocket League replay viewer React component and tooling

26 lines (25 loc) 874 B
import React, { PureComponent } from "react"; import { DrawableMeshIndex } from "../../managers/DrawingManager"; interface Props { } interface State { isDrawingMode: boolean; color: string; meshScale: number; drawObject: DrawableMeshIndex; is3dMode: boolean; } declare class DrawingControls extends PureComponent<Props, State> { colorPicker: React.RefObject<HTMLInputElement>; constructor(props: Props); toggleDrawingMode: () => void; toggle3dMode: () => void; changecolor: (e: React.ChangeEvent<HTMLInputElement>) => void; toggleColorPicker: () => void; changeSelectedDrawObject: (object: DrawableMeshIndex) => void; changeMeshScale: (e: React.ChangeEvent<HTMLInputElement>) => void; clearDrawings: () => void; renderControlButtons: () => JSX.Element; render(): JSX.Element; } export default DrawingControls;