@gorpacrate/core-graphics
Version:
A core library for creating shape-based graphic editors
14 lines (13 loc) • 517 B
TypeScript
import * as React from 'react';
import { ISceneMode, IShapesDeclarations } from '../declarations';
import { IEditorGridState, IEditorMouseState } from '../editor-state/editor-state';
export interface IPointerRendererPropTypes {
mouse: IEditorMouseState;
grid: IEditorGridState;
mode: ISceneMode;
shapesDeclarations: IShapesDeclarations;
}
export default class PointerRenderer extends React.Component<IPointerRendererPropTypes, any> {
needsRendering(): boolean;
render(): JSX.Element | null;
}