UNPKG

@baseplate-dev/react-generators

Version:

React Generators for Baseplate

27 lines 1.8 kB
import type { RenderTsTemplateGroupActionInput } from '@baseplate-dev/core-generators'; import type { BuilderAction } from '@baseplate-dev/sync'; import { CORE_REACT_COMPONENTS_TEMPLATES } from './typed-templates.js'; export interface CoreReactComponentsRenderers { componentsGroup: { render: (options: Omit<RenderTsTemplateGroupActionInput<typeof CORE_REACT_COMPONENTS_TEMPLATES.componentsGroup>, 'importMapProviders' | 'group' | 'paths' | 'generatorPaths'>) => BuilderAction; }; hooksGroup: { render: (options: Omit<RenderTsTemplateGroupActionInput<typeof CORE_REACT_COMPONENTS_TEMPLATES.hooksGroup>, 'importMapProviders' | 'group' | 'paths' | 'generatorPaths'>) => BuilderAction; }; stylesGroup: { render: (options: Omit<RenderTsTemplateGroupActionInput<typeof CORE_REACT_COMPONENTS_TEMPLATES.stylesGroup>, 'importMapProviders' | 'group' | 'paths' | 'generatorPaths'>) => BuilderAction; }; utilsGroup: { render: (options: Omit<RenderTsTemplateGroupActionInput<typeof CORE_REACT_COMPONENTS_TEMPLATES.utilsGroup>, 'importMapProviders' | 'group' | 'paths' | 'generatorPaths'>) => BuilderAction; }; } export declare const CORE_REACT_COMPONENTS_RENDERERS: { provider: import("@baseplate-dev/sync").ProviderType<CoreReactComponentsRenderers>; task: import("@baseplate-dev/sync").GeneratorTask<{ coreReactComponentsRenderers: import("@baseplate-dev/sync").ProviderExport<CoreReactComponentsRenderers>; }, { paths: import("@baseplate-dev/sync").ProviderType<import("./template-paths.js").CoreReactComponentsPaths>; typescriptFile: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").TypescriptFileProvider>; }, undefined>; }; //# sourceMappingURL=template-renderers.d.ts.map