mirror of
https://github.com/lucide-icons/lucide.git
synced 2025-12-19 01:49:23 +01:00
* init solid package * add testing * Fix tests solid * add workflow * update types build * Fix typings file * switch to camelCase props * revert camelcased props * Fix tests * Fixing dynamic reactive props in lucide icons * release beta * strokeWidth fix * bump beta version * improve docs * update beta release * update vitest config * Add automatic release for solid package
8 lines
244 B
JavaScript
8 lines
244 B
JavaScript
export default ({ componentName, children }) => `
|
|
import createSolidComponent from '../createSolidComponent';
|
|
|
|
const ${componentName} = createSolidComponent('${componentName}', ${JSON.stringify(children)});
|
|
|
|
export default ${componentName};
|
|
`;
|