From 74d6fbc9412c02e4a6fa4b754a9dc2d81d3c9417 Mon Sep 17 00:00:00 2001 From: Eric Fennis Date: Fri, 24 Oct 2025 16:44:49 +0200 Subject: [PATCH] Fix default prop (#3730) --- packages/lucide/src/lucide.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/lucide/src/lucide.ts b/packages/lucide/src/lucide.ts index fc968412c..0744399e1 100644 --- a/packages/lucide/src/lucide.ts +++ b/packages/lucide/src/lucide.ts @@ -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});`",