Skip to content

Commit

Permalink
refactor: renamed NavsWidget -> NavWidget.
Browse files Browse the repository at this point in the history
  • Loading branch information
Almas-Ali committed Aug 19, 2024
1 parent 028bae4 commit 45d2c5d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/widgets twicks/app2.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
SearchForm,
SubscribeForm,
)
from fronty.widgets.navs import NavsWidget
from fronty.widgets.navs import NavWidget

from flask import Flask

Expand Down Expand Up @@ -36,10 +36,10 @@ def style() -> css.CSS:
)


def new_navbar() -> NavsWidget:
def new_navbar() -> NavWidget:
'''This is the navigation bar of the page.'''

navbar = NavsWidget(load_css=True)
navbar = NavWidget(load_css=True)
navbar.add_nav_link('Home', '/').add_style_last_element(
color='black',
font_size='16px',
Expand Down

0 comments on commit 45d2c5d

Please sign in to comment.