Skip to content

Commit

Permalink
Refactor(pages): Breadcrumb parameter simplified
Browse files Browse the repository at this point in the history
  • Loading branch information
GedionT committed Sep 17, 2024
1 parent 3431fe2 commit f0cc9e9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pages/custom.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@
with tab4:
code = """
st_undp.breadcrumb([
{'label': 'Home', 'url': '/'},
{'label': 'Custom components', 'url': '/custom'},
{'label': 'Breadcrumb', 'url': None}
{'Home': '/'},
{'Custom components': '/custom'},
{'Breadcrumb': None}
])
"""
"""
eval(code.strip())
with st.expander("Show Code"):
st.code(code)
Expand Down

0 comments on commit f0cc9e9

Please sign in to comment.