@mattermost/react-native-emm
Version:
React Native package for EMM managed configurations
12 lines • 492 B
TypeScript
import React, { type ComponentType } from 'react';
interface Props {
children: React.ReactNode;
}
declare const Context: React.Context<any>;
export declare function useManagedConfig<T>(): T;
export declare const Provider: ({ children }: Props) => React.JSX.Element;
export declare function withManagedConfig<T, P extends JSX.IntrinsicAttributes = {}>(Component: ComponentType<P & {
managedConfig: T;
}>): ComponentType<P>;
export default Context;
//# sourceMappingURL=context.d.ts.map