mirror of
https://github.com/streamich/react-use.git
synced 2026-01-18 14:06:52 +00:00
Export useWait and Waiter
This commit is contained in:
parent
b43f7f8594
commit
38622ec5a6
@ -71,7 +71,7 @@ import useUnmount from './useUnmount';
|
||||
import useUpdate from './useUpdate';
|
||||
import useUpdateEffect from './useUpdateEffect';
|
||||
import useVideo from './useVideo';
|
||||
import useWait from './useWait';
|
||||
import { useWait, Waiter } from './useWait';
|
||||
import useWindowScroll from './useWindowScroll';
|
||||
import useWindowSize from './useWindowSize';
|
||||
|
||||
@ -152,4 +152,5 @@ export {
|
||||
useWait,
|
||||
useWindowScroll,
|
||||
useWindowSize,
|
||||
Waiter,
|
||||
};
|
||||
|
||||
@ -1,5 +1,3 @@
|
||||
import { useWait, Waiter } from 'react-wait';
|
||||
|
||||
useWait.Waiter = Waiter;
|
||||
|
||||
export default useWait;
|
||||
export { useWait, Waiter };
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user