@devtron-labs/devtron-fe-common-lib 0.0.78-beta-2 → 0.0.79-2

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.
@@ -20,7 +20,6 @@ export declare const refresh: () => void;
20
20
  export declare const reportIssue: () => void;
21
21
  export declare function useEffectAfterMount(cb: any, dependencies: any): void;
22
22
  export declare function getCookie(sKey: any): string;
23
- export declare function getLoginInfo(): any;
24
23
  export declare function useForm(stateSchema: any, validationSchema: {}, callback: any): {
25
24
  state: any;
26
25
  disable: boolean;
@@ -0,0 +1,6 @@
1
+ import { UseUserEmailContextType } from './types';
2
+ import { default as React } from 'react';
3
+
4
+ export declare const useUserEmail: () => UseUserEmailContextType;
5
+ export declare const UserEmailProvider: React.FC<{}>;
6
+ export declare const withUserEmail: (Component: React.ComponentClass) => (props: object) => JSX.Element;
@@ -0,0 +1,2 @@
1
+ export * from './UserEmailProvider';
2
+ export * from './types';
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ export interface UseUserEmailContextType {
3
+ email: string;
4
+ setEmail: React.Dispatch<React.SetStateAction<string>>;
5
+ }
@@ -1 +1,2 @@
1
1
  export * from './MainContextProvider';
2
+ export * from './UserEmailProvider';