UNPKG

@tldraw/core

Version:

The tldraw core renderer and utilities.

10 lines 513 B
import * as React from 'react'; import type { TLShapeUtilsMap } from '../../TLShapeUtil'; import type { IShapeTreeNode, TLShape } from '../../types'; export interface ShapeNodeProps<T extends TLShape> extends IShapeTreeNode<T> { utils: TLShapeUtilsMap<T>; } declare function _ShapeNode<T extends TLShape>({ shape, utils, meta, children, ...rest }: ShapeNodeProps<T>): JSX.Element; export declare const ShapeNode: React.MemoExoticComponent<typeof _ShapeNode>; export {}; //# sourceMappingURL=ShapeNode.d.ts.map