mirror of
https://github.com/lucide-icons/lucide.git
synced 2026-11-13 13:48:26 +00:00
* Adjust typescript types * adjust types * fix types in all helper files * Fix types * Migrate js files to ts files * Refactor to TS files * Rename extentions * Adjust imports * Fix builds * Update lockfile * Fix last typescript migration * Fix entry path @lucide/outline-svg * Fix types * add checkout step * format files * Format files
17 lines
433 B
TypeScript
17 lines
433 B
TypeScript
import { type IconNode } from '../types.ts';
|
|
|
|
export interface ExportTemplate {
|
|
componentName: string;
|
|
iconName: string;
|
|
children: IconNode;
|
|
getSvg: () => Promise<string>;
|
|
deprecated: boolean;
|
|
deprecationReason: string;
|
|
}
|
|
|
|
export type TemplateFunction = (params: ExportTemplate) => Promise<string>;
|
|
|
|
const defineExportTemplate = (exportFunction: TemplateFunction) => exportFunction;
|
|
|
|
export default defineExportTemplate;
|