@cycle/react-native
Version:
Cycle.js driver that uses React Native to render
7 lines (6 loc) • 337 B
TypeScript
import { Stream } from 'xstream';
import { ReactSource } from '@cycle/react';
import { ReactElement } from 'react';
export declare function makeReactNativeDriver(appKey: string, { registerRootComponent, }?: {
registerRootComponent?: (component: React.ComponentType) => any;
}): (sink: Stream<ReactElement<any>>) => ReactSource<any>;