replay-viewer
Version:
Rocket League replay viewer React component and tooling
19 lines (18 loc) • 535 B
TypeScript
import { Component } from "react";
import { PlayPauseEvent } from "../../eventbus/events/playPause";
interface Props {
}
interface State {
paused: boolean;
cameraControlsShowing: boolean;
}
export default class CompactPlayControls extends Component<Props, State> {
constructor(props: Props);
componentWillUnmount(): void;
setPlayPause: () => void;
onPlayPause: ({ paused }: PlayPauseEvent) => void;
showCameraControls: () => void;
hideCameraControls: () => void;
render(): JSX.Element;
}
export {};