UNPKG

@tldraw/core

Version:

The tldraw core renderer and utilities.

14 lines 598 B
import * as React from 'react'; import type { TLShape, TLUser } from '../../types'; export interface IndicatorProps<T extends TLShape, M = unknown> { shape: T; meta: M extends unknown ? M : undefined; isSelected?: boolean; isHovered?: boolean; isEditing?: boolean; user?: TLUser; } declare function _ShapeIndicator<T extends TLShape, M>({ isHovered, isSelected, isEditing, shape, user, meta, }: IndicatorProps<T, M>): JSX.Element; export declare const ShapeIndicator: React.MemoExoticComponent<typeof _ShapeIndicator>; export {}; //# sourceMappingURL=ShapeIndicator.d.ts.map