UNPKG

@es-react/react

Version:

Hippy react framework

23 lines (22 loc) 644 B
import { FunctionComponent, ComponentClass } from 'react'; import * as Native from './native'; interface HippyReactConfig { appName: string; entryPage: string | FunctionComponent<any> | ComponentClass<any, any>; silent?: boolean; bubbles?: boolean; callback?: () => void | undefined | null; } interface HippyReact { config: HippyReactConfig; rootContainer: any; regist: () => void; } declare class HippyReact implements HippyReact { static version: string; static get Native(): typeof Native; constructor(config: HippyReactConfig); start(): void; private render; } export default HippyReact;