Lucide Vue Package (#174)
* add configs
* Add vue components
* Add documentation
* add alpha release version
* improve npm ignore files
* add tests
* Make style and class attrs work
* 📦 bump version
* Add Icon suffix for component names
* bump version
* Add icon component example
* remove space
* improvements package.json
* update tests
* update workflow
This commit is contained in:
@@ -38,13 +38,15 @@ export default (iconsObject, options) => {
|
||||
];
|
||||
});
|
||||
|
||||
iconNodes[icon] = [
|
||||
'svg',
|
||||
{
|
||||
...(options.camelizeAttrs ? camelizeAttrs(DEFAULT_ATTRS) : DEFAULT_ATTRS),
|
||||
},
|
||||
children,
|
||||
];
|
||||
iconNodes[icon] = !options.noDefaultAttrs
|
||||
? [
|
||||
'svg',
|
||||
{
|
||||
...(options.camelizeAttrs ? camelizeAttrs(DEFAULT_ATTRS) : DEFAULT_ATTRS),
|
||||
},
|
||||
children,
|
||||
]
|
||||
: children;
|
||||
});
|
||||
|
||||
return iconNodes;
|
||||
|
||||
Reference in New Issue
Block a user