UNPKG

@a9g/plop-generator-react-atomic-component

Version:

plop generator react atomic component

24 lines (23 loc) 580 B
import { NodePlopAPI } from "node-plop"; import { GeneratorConfig } from "./index"; declare const atomicComponent: (config: Partial<GeneratorConfig>, plop: NodePlopAPI) => { description: string; prompts: ({ type: string; name: string; message: string; choices: string[]; } | { type: string; name: string; message: string; choices?: undefined; })[]; actions: { type: string; path: string; templateFile: string; data: {}; }[]; }; export default atomicComponent;