ObservedObserver / streamlit-shadcn-ui

Using shadcn-ui components in streamlit
https://shadcn.streamlit.app/
MIT License
759 stars 57 forks source link

Is there a callback implemented for the components? #27

Open Socvest opened 6 months ago

Socvest commented 6 months ago

I see in the source code there is a callback that has been imported by not implemented in the function. Are there plans to implement this? Want to use this for the tabs component. Also, the defaultValue in the tabs component does not send the value to streamlit. For example, if I use a default value of "ketchup", it's not stored in session state for the key of the component. If I store the component as a variable, I get it via the variable but not via st.session_state["key_name_of_tabs"]