File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 3939 "reflex/components/el/elements/tables.pyi" : " 60ce25fd601003dfadd78d3081b86795" ,
4040 "reflex/components/el/elements/typography.pyi" : " 3c4d82d4c61c84af85023d180631b081" ,
4141 "reflex/components/gridjs/datatable.pyi" : " 1b8232fd3e839c6ae772db3d211cd632" ,
42- "reflex/components/lucide/icon.pyi" : " b544769b37f1155ce97a170a21d1bcad " ,
42+ "reflex/components/lucide/icon.pyi" : " ebc4cf89627f0ac001b695bffb11d43d " ,
4343 "reflex/components/markdown/markdown.pyi" : " 3c818ed8f3a99edcba66ff00ec313f13" ,
4444 "reflex/components/moment/moment.pyi" : " 77e40c9afd511fb046134e2581d8a3bd" ,
4545 "reflex/components/plotly/plotly.pyi" : " 8362d4dd3d5c57af79a8bc8d2dbe82c9" ,
Original file line number Diff line number Diff line change 66from reflex .vars .base import LiteralVar , Var
77from reflex .vars .sequence import LiteralStringVar , StringVar
88
9+ LUCIDE_LIBRARY = "lucide-react@0.511.0"
10+
911
1012class LucideIconComponent (Component ):
1113 """Lucide Icon Component."""
1214
13- library = "lucide-react@0.511.0"
15+ library = LUCIDE_LIBRARY
1416
1517
1618class Icon (LucideIconComponent ):
@@ -96,7 +98,7 @@ def _get_imports(self):
9698 _imports = super ()._get_imports ()
9799 if self .library :
98100 _imports .pop (self .library )
99- _imports ["lucide-react" ] = [
101+ _imports [LUCIDE_LIBRARY ] = [
100102 ImportVar ("DynamicIcon" , package_path = "/dynamic.mjs" )
101103 ]
102104 return _imports
You can’t perform that action at this time.
0 commit comments