diff --git a/demo/app/previews/button_component_preview/disable_with_actions.html.erb b/demo/app/previews/button_component_preview/disable_with_actions.html.erb index 52be5bb8..6d08b525 100644 --- a/demo/app/previews/button_component_preview/disable_with_actions.html.erb +++ b/demo/app/previews/button_component_preview/disable_with_actions.html.erb @@ -1,5 +1,5 @@ <%= polaris_text_container do %> - <%= polaris_button(id: "demo-button") { "Button" } %> + <%= polaris_button(id: "demo-button", onclick: "alert('Button clicked')") { "Button" } %>
<%= polaris_text_strong { "Actions on button:" } %>