feat(icon-component): Creating icons with iconNodes (#1997)

* Add useIconComponent, lucide-react

* Add concept useIconComponent

* add useIconComponents to packages

* Add icon component

* Add icon component

* Add tests for react packages

* Reset changes in icons

* Add types

* Add support for Icon components in Lucide Vue Next

* update tests

* Update tests

* Enable Svelte component

* Fix lucide-react-native tests

* Update Solid package

* update snapshots

* Add docs

* add docs

* Update tests

* Formatting

* Formatting

* Update package lock

* Remove `useIconComponent`

* Update guides

* Update exports preact and solid package

* Formatting

* Format createIcons.ts

* Add lucide lab repo link in docs
This commit is contained in:
Eric Fennis
2024-04-26 17:59:04 +02:00
committed by GitHub
parent 65deefa53c
commit e50582e93e
77 changed files with 1705 additions and 428 deletions

View File

@@ -5,10 +5,10 @@
"main": "index.mjs",
"type": "module",
"scripts": {
"start": "node ./main.mjs"
"start": "node ./cli.mjs"
},
"bin": {
"build-icons": "./main.mjs"
"build-icons": "./cli.mjs"
},
"engines": {
"node": ">= 16"