UNPKG

react-cosmos

Version:

CLI for running React Cosmos inside webpack-powered apps

13 lines (12 loc) 557 B
/// <reference types="react" /> import { ReactDecorators, ReactFixtureWrappers } from 'react-cosmos-shared2/react'; import { FixtureId } from 'react-cosmos-shared2/renderer'; import { NativeRendererConfig } from './shared/rendererConfig'; declare type Props = { rendererConfig: NativeRendererConfig; fixtures: ReactFixtureWrappers; decorators: ReactDecorators; initialFixtureId?: FixtureId; }; export declare function NativeFixtureLoader({ rendererConfig: { port }, fixtures, decorators, initialFixtureId, }: Props): JSX.Element; export {};