Fix default prop (#3730)

This commit is contained in:
Eric Fennis
2025-10-24 16:44:49 +02:00
committed by GitHub
parent a2a0821c66
commit 74d6fbc941
+1 -1
View File
@@ -20,7 +20,7 @@ const createIcons = ({
attrs = {},
root = document,
inTemplates,
}: CreateIconsOptions) => {
}: CreateIconsOptions = {}) => {
if (!Object.values(icons).length) {
throw new Error(
"Please provide an icons object.\nIf you want to use all the icons you can import it like:\n `import { createIcons, icons } from 'lucide';\nlucide.createIcons({icons});`",