forked from rgommezz/react-native-offline
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.ts
18 lines (13 loc) · 834 Bytes
/
index.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import * as offlineActionTypes from './redux/actionTypes';
import * as offlineActionCreators from './redux/actionCreators';
import _reducer from './redux/createReducer';
export { default as NetworkProvider } from './components/NetworkProvider';
export { default as ReduxNetworkProvider } from './components/ReduxNetworkProvider';
export { default as NetworkConsumer } from './components/NetworkConsumer';
export { default as useIsConnected } from './hooks/useIsConnected';
export { default as createNetworkMiddleware } from './redux/createNetworkMiddleware';
export { default as networkSaga } from './redux/sagas';
export { default as checkInternetConnection } from './utils/checkInternetConnection';
export const createReducer = _reducer;
export const reducer = _reducer();
export { offlineActionCreators, offlineActionTypes };