UNPKG

apphouse

Version:

Component library for React that uses observable state management and theme-able components.

27 lines (26 loc) 933 B
import { CrossPlatformThemeProps } from '../cross-platform.interface'; import { ViewStyle } from '../@types/styles.cross-platform.interface'; export interface WebView extends CrossPlatformThemeProps { style?: ViewStyle; /** * The content of the view */ children?: any; } /** * A component used to display a view and it aims * to keep the same interface for both mobile and web * so that it can be used when using react-native as well * with minimal changes. * * It will have a little different interface than other Apphouse * components to accommodate for mobile and web */ export declare const WebView: (props: WebView) => import("react/jsx-runtime").JSX.Element; export interface ViewProps extends ViewStyle, CrossPlatformThemeProps { /** * The content of the view */ children?: any; } export declare const View: (props: ViewProps) => import("react/jsx-runtime").JSX.Element | null;