Skip to content

Commit

Permalink
Put component aliases on single line
Browse files Browse the repository at this point in the history
  • Loading branch information
celsiusnarhwal committed Nov 22, 2024
1 parent a05b5c2 commit e3ac8e1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
3 changes: 1 addition & 2 deletions RIL/fontawesome/component.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,5 +286,4 @@ class FontAwesome(rx.ComponentNamespace):
sharp_duotone = FontAwesomeSharpDuotone()


fontawesome = FontAwesome()
fa = fontawesome
fontawesome = fa = FontAwesome()
3 changes: 1 addition & 2 deletions RIL/fontawesome/component.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -426,5 +426,4 @@ class FontAwesome(rx.ComponentNamespace):
Whether to invert the icon's colors.
"""

fontawesome = FontAwesome()
fa = fontawesome
fontawesome = fa = FontAwesome()
3 changes: 1 addition & 2 deletions RIL/simple/component.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,4 @@ def create(cls, icon: str, props: SimpleIconProps):
return component


simple = SimpleIcon.create
si = simple
simple = si = SimpleIcon.create
3 changes: 1 addition & 2 deletions RIL/simple/component.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,4 @@ class SimpleIcon(Base):
The size of the icon. May be an integer (in pixels) or a CSS size string (e.g., `'1rem'`).
"""

simple = SimpleIcon.create
si = simple
simple = si = SimpleIcon.create

0 comments on commit e3ac8e1

Please sign in to comment.