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

17 lines (16 loc) 564 B
import type * as ts from 'typescript'; export declare function getArgsDefaultValue(property: ts.SyntaxKind): string; export declare function getComponentPropDefaults(sourceFile: ts.SourceFile, cmpDeclaration: ts.Node): { propsTypeName: string | null; inlineTypeString: string | null; props: { name: string; defaultValue: any; }[]; argTypes: { name: string; type: string; actionText: string; }[]; }; export declare function getImportForType(sourceFile: ts.SourceFile, typeName: string): ts.Statement;