Created
January 18, 2026 08:16
-
-
Save inyee786/2e60cbc9d17d3e33bbad9ca9c3cd6444 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export interface UILibrary { | |
| name: string; | |
| packageName: string | string[]; | |
| displayName: string; | |
| framework: 'react' | 'vue' | 'svelte' | 'angular'; | |
| } | |
| export interface ComponentSnippet { | |
| name: string; // e.g. "mui-button" | |
| displayName: string; // e.g. "Button" | |
| description: string; | |
| category: string; | |
| fullCode: string; // includes imports + wrapper | |
| usage: string; // JSX-only usage (optional but handy) | |
| } | |
| export interface LibraryComponents { | |
| library: UILibrary; | |
| components: ComponentSnippet[]; | |
| } | |
| export interface DetectedLibrary { | |
| library: UILibrary; | |
| version: string; | |
| components: ComponentSnippet[]; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment