UNPKG

@gorpacrate/core-graphics

Version:

A core library for creating shape-based graphic editors

14 lines (13 loc) 539 B
import * as React from 'react'; import { IScene, ISceneMode, IShapesDeclarations } from '../declarations'; import { IEditorEvent } from '../editor-state/editor-events'; export interface IShapesRendererPropTypes { shapesDeclarations: IShapesDeclarations; mode: ISceneMode; scene: IScene; onEditorEvent(ev: IEditorEvent): void; } export default class ShapesRenderer extends React.Component<IShapesRendererPropTypes, any> { shouldComponentUpdate(nextProps: IShapesRendererPropTypes): boolean; render(): JSX.Element; }