UNPKG

react-native-render-lynx

Version:

Render a LynxJS bundle in your React Native application.

11 lines (8 loc) 339 B
import { type HostComponent, type ViewProps } from 'react-native'; import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent'; export interface NativeProps extends ViewProps { bundleUrl: string; } export default codegenNativeComponent<NativeProps>( 'RenderLynxView' ) as HostComponent<NativeProps>;