Created
January 18, 2026 10:22
-
-
Save inyee786/6db50fc10de35745dea095d3fb5e633d 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
| import { LibraryComponents } from '../types'; | |
| export const materialUILibrary: LibraryComponents = { | |
| library: { | |
| name: 'material-ui', | |
| packageName: '@mui/material', | |
| displayName: 'Material UI', | |
| framework: 'react' | |
| }, | |
| components: [ | |
| { | |
| name: 'mui-button', | |
| displayName: 'Button', | |
| description: 'MUI Button component', | |
| category: 'Actions', | |
| usage: `<Button variant="contained">Click me</Button>`, | |
| fullCode: `import { Button } from '@mui/material'; | |
| export function Example() { | |
| return ( | |
| <Button variant="contained" onClick={() => console.log('clicked')}> | |
| Click me | |
| </Button> | |
| ); | |
| }` | |
| } | |
| ] | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment