UNPKG

@equinor/mad-core

Version:

Core library for the Mobile App Delivery team

10 lines (9 loc) 583 B
import React, { PropsWithChildren } from "react"; import { ParamListBase } from "@react-navigation/native"; import { MadConfig, WithoutEnvironmentOptionValues } from "../types"; import { CoreNavigatorType } from "../components/CoreNavigatorTypeProvider"; export type MadCoreProvidersProps<T extends ParamListBase | void> = PropsWithChildren<{ config: WithoutEnvironmentOptionValues<MadConfig<T>>; type: CoreNavigatorType; }>; export declare const MadCoreProviders: <T extends void | ParamListBase>({ config, type, children, }: MadCoreProvidersProps<T>) => React.JSX.Element;