UNPKG

770 BTypeScriptView Raw
1import React from 'react';
2import { appBridgeMiddlewareProptype, Middleware } from '.';
3export interface Context {
4 appBridgeMiddleware: Middleware;
5}
6export interface Props {
7 middleware: Middleware;
8}
9export declare class Provider extends React.Component<Props, never> {
10 static childContextTypes: {
11 appBridgeMiddleware: typeof appBridgeMiddlewareProptype;
12 };
13 middleware: Middleware;
14 constructor(props: Props);
15 getChildContext(): Context;
16 render(): string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)> | React.ReactPortal | null | undefined;
17}
18
\No newline at end of file