UNPKG

piral-core

Version:

The core library for creating a Piral instance.

19 lines (18 loc) 515 B
import * as React from 'react'; import type { PiralProps } from './types'; /** * Represents the Piral app shell frame. Use this component together * with an existing instance to render the app shell. * Includes layout and routing handling. Connects the Piral context * and the React router to the generated views. * * @example ```jsx const app = ( <Piral instance={yourPiralInstance}> <Define name="Layout" component={MyLayout} /> </Piral> ); ``` */ export declare const Piral: React.FC<PiralProps>;