forked from splitio/react-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathumd.ts
29 lines (24 loc) · 975 Bytes
/
umd.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Split SDK factory (Renamed to avoid name conflict with SplitFactory component)
import { SplitFactory as SplitSdk } from '@splitsoftware/splitio';
// HOC functions
import withSplitFactory from './src/withSplitFactory';
import withSplitClient from './src/withSplitClient';
import withSplitTreatments from './src/withSplitTreatments';
// Render props components
import SplitTreatments from './src/SplitTreatments';
import SplitClient from './src/SplitClient';
import SplitFactory from './src/SplitFactory';
// helper functions/hooks
import useClient from './src/useClient';
import useTreatments from './src/useTreatments';
import useTrack from './src/useTrack';
import useManager from './src/useManager';
// SplitContext
import SplitContext from './src/SplitContext';
export default {
SplitSdk,
withSplitFactory, withSplitClient, withSplitTreatments,
SplitFactory, SplitClient, SplitTreatments,
useClient, useTreatments, useTrack, useManager,
SplitContext,
};