@tldraw/core
Version:
The tldraw core renderer and utilities.
11 lines • 566 B
TypeScript
import * as React from 'react';
import type { TLShapeUtil } from '../../TLShapeUtil';
import type { TLComponentProps, TLShape } from '../../types';
interface RenderedShapeProps<T extends TLShape, E extends Element, M> extends TLComponentProps<T, E, M> {
shape: T;
utils: TLShapeUtil<T, E, M>;
}
declare function _RenderedShape<T extends TLShape, E extends Element, M>(props: RenderedShapeProps<T, E, M>): JSX.Element;
export declare const RenderedShape: React.MemoExoticComponent<typeof _RenderedShape>;
export {};
//# sourceMappingURL=RenderedShape.d.ts.map