@es-react/react
Version:
Hippy react framework
31 lines (30 loc) • 1.8 kB
TypeScript
import './global';
import { HippyEventEmitter, HippyEventListener, EventBus } from './event';
import { colorParse } from './color';
import HippyReact from './hippy';
import AppRegistry from './adapters/app-registry';
import Animation from './modules/animation';
import AnimationSet from './modules/animation-set';
import WebSocket from './modules/websocket';
import * as Native from './native';
import * as StyleSheet from './modules/stylesheet';
import View from './components/view';
declare const AsyncStorage: any, BackAndroid: {
exitApp(): void;
addListener(handler: () => void): import("./modules/back-android").BackAndroidRevoker;
removeListener(handler: () => void): void;
initEventListener(): void;
}, Clipboard: typeof Native.Clipboard, NetworkModule: typeof Native.Cookie, HippyRegister: any, ImageLoaderModule: typeof Native.ImageLoader, NetInfo: typeof Native.NetworkInfo, UIManagerModule: typeof Native.UIManager, flushSync: <A, R>(fn: (a: A) => R, a: A) => R;
declare const callNative: any, callNativeWithPromise: any, callNativeWithCallbackId: any, removeNativeCallback: any;
declare const TimerModule: null;
declare const ConsoleModule: any;
declare const Platform: any;
declare const Hippy: typeof HippyReact;
declare const Dimensions: {
get(name: "window" | "screen"): any;
};
declare const PixelRatio: {
get(): any;
};
export { flushSync, colorParse, callNative, callNativeWithPromise, callNativeWithCallbackId, removeNativeCallback, HippyRegister, EventBus, HippyEventEmitter, HippyEventListener, AsyncStorage, AppRegistry, UIManagerModule, StyleSheet, Dimensions, PixelRatio, TimerModule, NetworkModule, NetInfo, Clipboard, ConsoleModule, ImageLoaderModule, Platform, BackAndroid, Animation, AnimationSet, Hippy, WebSocket, View, };
export default HippyReact;