diff --git a/mesop/examples/docs/loading.py b/mesop/examples/docs/loading.py index c092e5676..a478874e8 100644 --- a/mesop/examples/docs/loading.py +++ b/mesop/examples/docs/loading.py @@ -28,7 +28,7 @@ def button_click(event: me.ClickEvent): def main(): state = me.state(State) if state.is_loading: - me.progress_spinner(mode="indeterminate", diameter=40, stroke_width=10) + me.progress_spinner() me.text(state.data) with me.button(on_click=button_click): me.text("Call API") diff --git a/mesop/examples/playground.py b/mesop/examples/playground.py index 2c0711724..e07104095 100644 --- a/mesop/examples/playground.py +++ b/mesop/examples/playground.py @@ -109,5 +109,5 @@ def right_panel(): me.text("Output", style="font-weight: 500;") state = me.state(State) if state.is_loading: - me.progress_spinner(diameter=48, stroke_width=4, mode="indeterminate") + me.progress_spinner() me.text(state.response) diff --git a/mesop/examples/playground_critic.py b/mesop/examples/playground_critic.py index 40d891953..0e6c14862 100644 --- a/mesop/examples/playground_critic.py +++ b/mesop/examples/playground_critic.py @@ -128,8 +128,8 @@ def right_panel(): me.text("Output", style="font-weight: 500;") state = me.state(State) if state.initial_output.loading: - me.progress_spinner(diameter=48, stroke_width=4, mode="indeterminate") + me.progress_spinner() me.text(state.initial_output.text) if state.critic_output.loading: - me.progress_spinner(diameter=48, stroke_width=4, mode="indeterminate") + me.progress_spinner() me.text(state.critic_output.text)