UNPKG

@tldraw/core

Version:

The tldraw core renderer and utilities.

10 lines 530 B
import * as React from 'react'; import type { TLShapeUtil } from '../../TLShapeUtil'; import type { IShapeTreeNode, TLShape } from '../../types'; export interface ShapeProps<T extends TLShape, E extends Element, M> extends IShapeTreeNode<T, M> { utils: TLShapeUtil<T, E, M>; } declare function _Shape<T extends TLShape, E extends Element, M>({ shape, utils, meta, ...rest }: ShapeProps<T, E, M>): JSX.Element; export declare const Shape: React.MemoExoticComponent<typeof _Shape>; export {}; //# sourceMappingURL=Shape.d.ts.map