@mseep/mcp-figma-to-code
Version:
MCP server for converting Figma designs to React Native components
17 lines (16 loc) • 411 B
TypeScript
interface ComponentChild {
name: string;
type: string;
style?: any;
fills?: any;
children: ComponentChild[];
}
export declare function generateComponent(component: any, validation?: boolean, componentToExtract?: string): Promise<{
message: string;
componentSets: {
name: string;
props: Record<string, any>;
children: ComponentChild[];
}[];
}>;
export {};