piral-native
Version:
The Piral framework for use in React Native.
15 lines (14 loc) • 543 B
TypeScript
import { PiralRenderOptions } from './types';
/**
* Sets up a new Piral instance and renders it using the provided options.
* Can be used as simple as calling the function directly without any
* arguments.
* @param appName The name of the application.
* @param options The options to use when setting up the Piral instance.
* @example
```ts
import { renderInstance } from 'piral-native';
renderInstance();
```
*/
export declare function renderInstance(appName: string, options?: PiralRenderOptions): import("piral-core").PiralInstance;