UNPKG

@hhgtech/hhg-components

Version:
24 lines (23 loc) 664 B
import React, { ReactNode } from 'react'; export type Context = { defaultParams?: { [k: string]: string; }; }; export declare const TogetherAuthConfigContext: React.Context<Context>; export declare const TogetherAuthConfigContextProvider: ({ children, defaultParams, }: { children: ReactNode; defaultParams?: { [k: string]: any; }; }) => React.JSX.Element; export declare const useTogetherAuthRequiredAction: (propsParams?: { [k: string]: any; }) => { authActionWrapper: (func?: () => any, extraParams?: { [k: string]: any; }) => any; params: { [x: string]: any; }; };