UNPKG

react-cosmos

Version:

CLI for running React Cosmos inside webpack-powered apps

15 lines (14 loc) 451 B
/// <reference types="react" /> import { CosmosConfig } from './config/shared'; export declare type FixtureApi = { absoluteFilePath: string; fileName: string; getElement: () => React.ReactElement<any>; name: string | null; parents: string[]; playgroundUrl: string; relativeFilePath: string; rendererUrl: string; treePath: string[]; }; export declare function getFixtures2(cosmosConfig: CosmosConfig): FixtureApi[];