From 3e7d748827af0ce479d2264d5273cc1f63e889ed Mon Sep 17 00:00:00 2001 From: Itrulia Date: Fri, 27 Jun 2025 17:13:44 +0200 Subject: [PATCH] docs(site): small changes for DynamicIcon (#3355) * docs(lucide-react): small changes for DynamicIcon Changed the sentence structure slightly for DynamicIcon to be easier to understand. * Update lucide-react.md --- docs/guide/packages/lucide-react.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/guide/packages/lucide-react.md b/docs/guide/packages/lucide-react.md index 7794acdbf..fb57d5b63 100644 --- a/docs/guide/packages/lucide-react.md +++ b/docs/guide/packages/lucide-react.md @@ -87,8 +87,7 @@ const App = () => ( ## Dynamic Icon Component -It is possible to create one generic icon component to load icons, but it is not recommended. -Since it is importing all icons during build. This increases build time and the different modules it will create. +It is possible to create one generic icon component to load icons. But it is not recommended, since it is importing all icons during the build. This increases build time and the different modules it will create. `DynamicIcon` is useful for applications that want to show icons dynamically by icon name. For example, when using a content management system with where icon names are stored in a database.