UNPKG

@nx/gatsby

Version:

Gatsby Plugin for Nx

13 lines (12 loc) 488 B
import { Tree } from '@nx/devkit'; import type { SupportedStyles } from '@nx/react'; interface Schema { name: string; project: string; style: SupportedStyles; directory?: string; flat?: boolean; } export declare function componentGenerator(host: Tree, options: Schema): Promise<import("@nx/devkit").GeneratorCallback>; export default componentGenerator; export declare const componentSchematic: (generatorOptions: Schema) => (tree: any, context: any) => Promise<any>;