Skip to content

Commit 5e5a748

Browse files
Update streamlit.json (#790)
* Update streamlit.json * Update widget.button.py
1 parent b0f8936 commit 5e5a748

File tree

2 files changed

+83679
-9798
lines changed

2 files changed

+83679
-9798
lines changed
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import streamlit as st
22

3-
if st.button("Say hello"):
4-
st.write("Why hello there")
3+
st.button('Reset', type='primary')
4+
if st.button('Say hello'):
5+
st.write('Why hello there')
56
else:
6-
st.write("Goodbye")
7+
st.write('Goodbye')

0 commit comments

Comments
 (0)