UNPKG

@nx/react

Version:

The React plugin for Nx contains executors and generators for managing React applications and libraries within an Nx workspace. It provides: - Integration with libraries such as Jest, Vitest, Playwright, Cypress, and Storybook. - Generators for applica

14 lines 882 B
import { Tree } from '@nx/devkit'; import type * as ts from 'typescript'; export interface CreateComponentStoriesFileSchema { project: string; componentPath: string; interactionTests?: boolean; uiFramework?: string; skipFormat?: boolean; } export declare function createComponentStoriesFile(host: Tree, { project, componentPath, interactionTests, uiFramework, }: CreateComponentStoriesFileSchema): void; export declare function findPropsAndGenerateFile(host: Tree, sourceFile: ts.SourceFile, cmpDeclaration: ts.Node, componentDirectory: string, name: string, interactionTests: boolean, uiFramework: string, isPlainJs: boolean, fromNodeArray?: boolean): void; export declare function componentStoryGenerator(host: Tree, schema: CreateComponentStoriesFileSchema): Promise<void>; export default componentStoryGenerator; //# sourceMappingURL=component-story.d.ts.map