UNPKG

200 BTypeScriptView Raw
1import type { BasicTarget } from '../utils/domTarget';
2type Size = {
3 width: number;
4 height: number;
5};
6declare function useSize(target: BasicTarget): Size | undefined;
7export default useSize;