forked from linkong/planet
first commit
This commit is contained in:
commit
e7033775d8
20657 files changed
+1988940
No files matched your search
+5
@@ -0,0 +1,5 @@
|
||||
/**
|
||||
* Trigger `callback` immediately when `condition` is `true`.
|
||||
* But trigger `callback` in next frame when `condition` is `false`.
|
||||
*/
|
||||
export default function useLockEffect(condition: boolean, callback: (next: boolean) => void, delayFrames?: number): void;
|
||||
Reference in new issue
Block a user