fix(deps): update dependency lucide-react to ^0.471.0 #308
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.469.0
->^0.471.0
Release Notes
lucide-icons/lucide (lucide-react)
v0.471.0
: Dynamic Icon component Lucide React and new icons 0.471.0Compare Source
New Dynamic Icon Component (lucide-react)
This is an easier approach than the previous
dynamicIconImports
we exported in the library. This one supports all environments.We removed the examples in the docs of how you can make a dynamic icon yourself with a dedicated DynamicIcon component.
This one fetches the icon data itself and renders it instead of fetching the Icon component from the library.
This makes it more flexible with all the frontend frameworks and libraries that exist for React.
How to use
DynamicIcon
is useful for applications that want to show icons dynamically by icon name, for example when using a content management system where icon names are stored in a database.Possible Breaking changes
We have switched to the "exports" property in
package.json
. This can cause issues if you have directly imported scripts from the package. Please open an issue if we need to refine this export map.New icons 🎨
triangle-dashed
(#2652) by @Yohhv0.470.0
: New icons 0.470.0Compare Source
New icons 🎨
house-wifi
(#2723) by @akshaymemaneModified Icons 🔨
rat
(#2692) by @jguddasConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.