UNPKG

magen

Version:

Magen, generate react apps with module architecture

18 lines (17 loc) 832 B
import { RouterSelectType } from "./types"; export declare const TEMPLATES_PATH: string; export declare const snakeCase: (string: string) => string; export declare const lowerFirstLetter: (string: string) => string; export declare const viewContent: (sectionName: string) => string; export declare const hookContent: (sectionName: string) => string; export declare const formContent: (sectionName: string) => string; export declare const formHookContent: ({ sectionName, schemaPath, }: { sectionName: string; schemaPath: string; }) => string; export declare const contextContent: (sectionName: string) => string; export declare const schemaContent: (sectionName: string) => string; export declare const routerContent: ({ sectionName, routerType, }: { sectionName: string; routerType: RouterSelectType; }) => string;