mirror of
https://github.com/lucide-icons/lucide.git
synced 2026-11-15 14:08:49 +00:00
Factoring
This commit is contained in:
@@ -12,6 +12,8 @@ const createElement = (tag, attrs, children = []) => {
|
||||
element.appendChild(childElement);
|
||||
});
|
||||
}
|
||||
|
||||
return element;
|
||||
}
|
||||
|
||||
export default (iconNode) => createElement(iconNode);
|
||||
|
||||
Reference in New Issue
Block a user