pre-installations and preparations
This commit is contained in:
1 parent
3e5a0329cb
commit
201d621ac3
6977 files changed
+742826
No files matched your search
+9
@@ -0,0 +1,9 @@
|
||||
import * as React from 'react';
|
||||
/**
|
||||
* A React.useRef() that is initialized lazily with a function. Note that it accepts an optional
|
||||
* initialization argument, so the initialization function doesn't need to be an inline closure.
|
||||
*
|
||||
* @usage
|
||||
* const ref = useLazyRef(sortColumns, columns)
|
||||
*/
|
||||
export default function useLazyRef<T, U>(init: (arg?: U) => T, initArg?: U): React.MutableRefObject<T>;
|
||||
Reference in new issue
Block a user