mirror of
https://github.com/lucide-icons/lucide.git
synced 2025-12-16 21:07:43 +01:00
* Add preact package * Fix types * update types * fix types * remove dependecies * bump version * improve test setup for react as well * Add workflow for preact * Fix types * bump version * Add white space * remove forward ref * bump package * Fix types * Fix types * bump version * Remove proptypings * Test new version * Add some extra documentation
8 lines
247 B
JavaScript
8 lines
247 B
JavaScript
export default ({ componentName, children }) => `
|
|
import createPreactComponent from '../createPreactComponent';
|
|
|
|
const ${componentName} = createPreactComponent('${componentName}', ${JSON.stringify(children)});
|
|
|
|
export default ${componentName};
|
|
`;
|