mirror of
https://github.com/lucide-icons/lucide.git
synced 2025-12-19 00:49:23 +01:00
Add lucide-angular again! (#281)
* Add lucide-angular * README of lucide-angular
This commit is contained in:
10
packages/lucide-angular/scripts/exportTemplate.js
Normal file
10
packages/lucide-angular/scripts/exportTemplate.js
Normal file
@@ -0,0 +1,10 @@
|
||||
export default ({ componentName, children }) => `
|
||||
import { IconData } from '../../lucide';
|
||||
import defaultAttributes from '../../default-attributes';
|
||||
|
||||
export const ${componentName}: IconData = [
|
||||
'svg',
|
||||
defaultAttributes,
|
||||
${JSON.stringify(children)}
|
||||
];
|
||||
`;
|
||||
Reference in New Issue
Block a user