lucide
lucide copied to clipboard
docs: change lucide react icon component code.
What is the purpose of this pull request?
- [ ] New Icon
- [ ] Bug fix
- [ ] New Feature
- [x] Documentation update
- [ ] Other:
Description
If you use a Icon Component in react, you needs to transfer a name prop with kebab case. I change demo Home
to home
.
Icon use case
Alternative icon designs
Icon Design Checklist
Concept
- [ ] I have provided valid use cases for each icon.
- [ ] I have not added any a brand or logo icon.
- [ ] I have not used any hate symbols.
- [ ] I have not included any religious or political imagery.
Author, credits & license
- [ ] The icons are solely my own creation.
- [ ] The icons were originally created in #<issueNumber> by @<githubUser>
- [ ] I've based them on the following Lucide icons:
- [ ] I've based them on the following design:
Naming
- [ ] I've read and followed the naming conventions
- [ ] I've named icons by what they are rather than their use case.
- [ ] I've provided meta JSON files in
icons/[iconName].json
.
Design
- [ ] I've read and followed the icon design guidelines
- [ ] I've made sure that the icons look sharp on low DPI displays.
- [ ] I've made sure that the icons look consistent with the icon set in size, optical volume and density.
- [ ] I've made sure that the icons are visually centered.
- [ ] I've correctly optimized all icons to two points of precision.
Before Submitting
- [x] I've read the Contribution Guidelines.
- [x] I've checked if there was an existing PR that solves the same issue.