Files
NapCatQQ/.pnpm-store/v3/files/a6/060172624778278790a96f695dec2a1a93c78514a4c7d6aff619eeba5a7c0cb44c9e0ad934f1e7e071a7ae69cd7ac3439877b717eab71d4187191d62da1526
TanTan e311ca3275
Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

13 lines
430 B
Plaintext

type Dimensions = {
width: number | null;
height: number | null;
};
/**
* A custom hook that measures the dimensions of a DOM element.
* @returns A tuple containing a ref callback and the dimensions of the measured element.
*/
declare function useMeasure(): [React.RefCallback<Element>, Dimensions];
type UseMeasureReturn = ReturnType<typeof useMeasure>;
export { type Dimensions, type UseMeasureReturn, useMeasure };