UNPKG

react-native-paper-portal

Version:
15 lines (14 loc) 474 B
import * as React from 'react'; import { ViewStyle } from 'react-native'; interface IHostProps { children: React.ReactNode; style?: ViewStyle; } export interface IProvider { mount(children: React.ReactNode): string; update(key?: string, children?: React.ReactNode): void; unmount(key?: string): void; } export declare const Context: React.Context<IProvider | null>; export declare const Host: ({ children, style }: IHostProps) => JSX.Element; export {};