UNPKG

420 BTypeScriptView Raw
1import React from 'react';
2import { Cursor, Renderer } from '@antv/g-canvas';
3export interface ICanvasProps {
4 container?: string | HTMLElement;
5 width?: number;
6 height?: number;
7 capture?: boolean;
8 renderer?: Renderer;
9 cursor?: Cursor;
10 [key: string]: any;
11}
12declare const _default: React.ForwardRefExoticComponent<Omit<ICanvasProps, "ref"> & React.RefAttributes<any>>;
13export default _default;