Skip to content

Commit

Permalink
add lucide icons as a candidate for core icon library (#2444)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lendemor authored Jan 29, 2024
1 parent 01c2a1e commit 11f6d7c
Show file tree
Hide file tree
Showing 5 changed files with 3,082 additions and 2 deletions.
3 changes: 2 additions & 1 deletion reflex/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,12 +254,13 @@
"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",
Expand Down
3 changes: 2 additions & 1 deletion reflex/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
5 changes: 5 additions & 0 deletions reflex/components/lucide/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
"""Lucide Icon Component."""

from .icon import Icon

icon = Icon.create
Loading

0 comments on commit 11f6d7c

Please sign in to comment.