dynamate-design-to-code
Version:
A powerful tool for converting Figma designs into high-quality, production-ready code with built-in best practices and customizable rulesets
9 lines (8 loc) • 317 B
TypeScript
export interface ComponentTemplateProps {
name: string;
props?: string[];
children?: boolean;
styles?: string;
}
export declare function generateComponentTemplate({ name, props, children, styles }: ComponentTemplateProps): string;
export declare function generateStylesTemplate(name: string): string;