Skip to content

Commit 30a59fe

Browse files
committed
Update documentation in example.py
1 parent ac18e8c commit 30a59fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

example.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
anchor_ids = ["About", "Features", "Settings", "Pricing", "Contact"]
88
anchor_icons = ["info-circle", "lightbulb", "gear", "tag", "envelope"]
99

10-
# 1. as sidebar menu
10+
# 1. vertical menu in sidebar
1111
with st.sidebar:
1212
st.subheader("Example 1")
1313
scroll_navbar(
1414
anchor_ids,
1515
anchor_labels=None, # Use anchor_ids as labels
1616
anchor_icons=anchor_icons)
1717

18-
# 2. horizontal menu with scroll disabled
18+
# 2. horizontal menu
1919
st.subheader("Example 2")
2020
scroll_navbar(
2121
anchor_ids,

0 commit comments

Comments
 (0)