add lucide icons as a candidate for core icon library (#2444)

This commit is contained in:
Thomas Brandého 2024-01-29 20:43:00 +01:00 committed by GitHub
parent 01c2a1ed7d
commit 11f6d7ccef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 3082 additions and 2 deletions

View File

@ -254,12 +254,13 @@ _MAPPING = {
"reflex.compiler.utils": ["get_asset_path"],
"reflex.components": _ALL_COMPONENTS + ["chakra", "next"],
"reflex.components.component": ["memo"],
"reflex.components.el": ["el"],
"reflex.components.lucide": ["lucide"],
"reflex.components.radix": ["radix"],
"reflex.components.recharts": ["recharts"],
"reflex.components.moment.moment": ["MomentDelta"],
"reflex.config": ["config", "Config", "DBConfig"],
"reflex.constants": ["constants", "Env"],
"reflex.components.el": ["el"],
"reflex.event": [
"event",
"EventChain",

View File

@ -447,6 +447,8 @@ from reflex.components import NoSSRComponent as NoSSRComponent
from reflex.components import chakra as chakra
from reflex.components import next as next
from reflex.components.component import memo as memo
from reflex.components import el as el
from reflex.components import lucide as lucide
from reflex.components import radix as radix
from reflex.components import recharts as recharts
from reflex.components.moment.moment import MomentDelta as MomentDelta
@ -455,7 +457,6 @@ from reflex.config import Config as Config
from reflex.config import DBConfig as DBConfig
from reflex import constants as constants
from reflex.constants import Env as Env
from reflex.components import el as el
from reflex import event as event
from reflex.event import EventChain as EventChain
from reflex.event import background as background

View File

@ -0,0 +1,5 @@
"""Lucide Icon Component."""
from .icon import Icon
icon = Icon.create

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff