gpui-component/crates
Moulberry a4d792f121
button_group: Fix overriding button click when no on_click (#1546)
When `on_click` is not specified on the button group, this PR allows for
specifying on_click on each individual button.

e.g.

```rs
let buttons = ButtonGroup::new(("buttons", index)).layout(Axis::Vertical)
    .child(Button::new(("install", index)).label("Install").icon(download_icon).success().on_click(move |_, _, cx| {
          // Install
    })
    .child(Button::new(("open", index)).label("Open Page").icon(IconName::Globe).info().on_click(move |_, _, cx| {
         // Open page
    }));
```
2025-11-10 09:43:25 +08:00
..
macros Bump v0.4.0-preview1. 2025-11-06 22:27:26 +08:00
reqwest_client Bump v0.4.0-preview1. 2025-11-06 22:27:26 +08:00
story form: Rename FormField to Field. (#1539) 2025-11-07 18:43:01 +08:00
ui button_group: Fix overriding button click when no on_click (#1546) 2025-11-10 09:43:25 +08:00