-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy pathindex.ts
41 lines (35 loc) · 853 Bytes
/
index.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
30
31
32
33
34
35
36
37
38
39
40
41
/** @format */
export type {
IConfig,
IContext,
IMutableContext,
IVariant,
IToggle,
} from 'unleash-proxy-client';
export {
UnleashClient,
type IStorageProvider,
LocalStorageProvider,
InMemoryStorageProvider,
} from 'unleash-proxy-client';
import FlagContext from './FlagContext';
import FlagProvider from './FlagProvider';
import useFlag from './useFlag';
import useFlags from './useFlags';
import useFlagsStatus from './useFlagsStatus';
import useVariant from './useVariant';
import useUnleashContext from './useUnleashContext';
import useUnleashClient from './useUnleashClient';
import { IFlagProvider } from './FlagProvider';
export {
FlagContext,
FlagProvider,
useFlag,
useFlags,
useFlagsStatus,
useVariant,
useUnleashContext,
useUnleashClient,
};
export type { IFlagProvider };
export default FlagProvider;