UNPKG

@usefui/svgjsx

Version:

Open Source Command Line Interfaces to generate JSX Icon Components from SVGs.

9 lines 607 B
import type { SvgFile, TsxComponent } from "../types"; export declare const isInvalidComponentName: (name: string) => boolean; export declare const sanitizeComponentName: (filename: string) => string; export declare const replaceColorsWithCurrentColor: (content: string) => string; export declare const processSvgContent: (content: string) => string; export declare const createTsxComponent: (svgFile: SvgFile) => TsxComponent | null; export declare const generateHeader: () => string; export declare const generateExportList: (componentNames: string[]) => string; //# sourceMappingURL=transformers.d.ts.map