UNPKG

@tldraw/core

Version:

The tldraw core renderer and utilities.

4 lines 262 B
import * as React from 'react'; import type { TLBounds } from '../types'; export declare function useResizeObserver<T extends HTMLElement>(ref: React.RefObject<T>, onBoundsChange: (bounds: TLBounds) => void): void; //# sourceMappingURL=useResizeObserver.d.ts.map