PromoCursed/node_modules/antd/lib/_util/hooks/useUniqueMemo.d.ts

7 lines
225 B
TypeScript
Raw Normal View History

2024-08-20 23:25:37 +04:00
import React from 'react';
/**
* Like `useMemo`, but this hook result will be shared across all instances.
*/
declare function useUniqueMemo<T>(memoFn: () => T, deps: React.DependencyList): T;
export default useUniqueMemo;