@apolitical/component-library 1.1.0-beta.3 → 1.1.1-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,9 +6,8 @@ export interface IUserDetails {
6
6
  thumbnail?: string;
7
7
  };
8
8
  }
9
- export interface IUserContext {
9
+ export interface IUserContext extends IUserDetails {
10
10
  isLoading: boolean;
11
- details: IUserDetails | null;
12
11
  }
13
12
  declare const _default: import("react").Context<IUserContext | null>;
14
13
  export default _default;
package/hooks/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  export { default as useEffectAfterMount } from './use-effect-after-mount';
2
+ export { default as useFeatureFlag } from './use-feature-flag';
2
3
  export { default as useScreenWidth } from './use-screen-width';
3
4
  export { default as useScrollListener } from './use-scroll-listener';
@@ -0,0 +1,5 @@
1
+ declare const _default: (featureName: string) => {
2
+ isFeatureActive: boolean;
3
+ error: null;
4
+ };
5
+ export default _default;