What changed
New features
* Allow buttons with callbacks to switch pages
It updates the component frontend active page, when the `selected` parameter from `st_navbar` changes. This makes it possible to use an [`st.button`](https://docs.streamlit.io/develop/api-reference/widgets/st.button) outside the navbar, to switch to a different page. Similar to what [`st.page_link`](https://docs.streamlit.io/develop/api-reference/widgets/st.page_link) does, but using the [recommended structure](https://github.com/gabrieltempass/streamlit-navigation-bar/wiki/Multipage#recommended-structure).
Demo app: https://st-navbar-mpa-button.streamlit.app
**Full Changelog**: https://github.com/gabrieltempass/streamlit-navigation-bar/compare/3.2.0...3.3.0