# ui: Clean up toggle button group component \(\#35303\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/57766199cfcf9fba1f920db9958ff45ac4fff1dd)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 57766199cfcf9fba1f920db9958ff45ac4fff1dd

Requested commit: 57766199cfcf9fba1f920db9958ff45ac4fff1dd

Commit: 57766199cfcf9fba1f920db9958ff45ac4fff1dd

Tree: b7f23e5abd28b0858542b8e08a22ea4cec8573dd

Author: Finn Evers

Committer: GitHub

## Message

```
ui: Clean up toggle button group component (#35303)

This change cleans up the toggle button component a bit by utilizing
const parameters instead and also removes some clones by consuming the
values where possible instead.

Release Notes:

- N/A
```

## Parents

- [0be83f1c671097360f3b1a93a9de8288b6be31b2](https://git.cafe/gitcafe/zed/commit/0be83f1c671097360f3b1a93a9de8288b6be31b2?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/57766199cfcf9fba1f920db9958ff45ac4fff1dd?format=markdown)
