This commit is contained in:
7
node_modules/react-dnd/lib/hooks/useCollector.d.ts
generated
vendored
Normal file
7
node_modules/react-dnd/lib/hooks/useCollector.d.ts
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
/**
|
||||
*
|
||||
* @param monitor The monitor to collect state from
|
||||
* @param collect The collecting function
|
||||
* @param onUpdate A method to invoke when updates occur
|
||||
*/
|
||||
export declare function useCollector<T, S>(monitor: T, collect: (monitor: T) => S, onUpdate?: () => void): [S, () => void];
|
||||
Reference in New Issue
Block a user