# Remove the \`SwitchWithLabel\` component \(\#23240\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 9f52683ebc6423c81cc8fa1595eb2f0a91986d38

Requested commit: 9f52683ebc6423c81cc8fa1595eb2f0a91986d38

Commit: 9f52683ebc6423c81cc8fa1595eb2f0a91986d38

Tree: 592c26c181a4f54f3cfeb13d46b395336a03fff4

Author: Danilo Leal

Committer: GitHub

## Message

```
Remove the `SwitchWithLabel` component (#23240)

This PR removes the `SwitchWithLabel` component because we're adding
`label` as a method to `Switch`. Thus, we no longer need an extra
component just to append a label. Additionally, we're also adding
`keybinding` as a method.

Release Notes:

- N/A

---------

Co-authored-by: Agus Zubiaga <hi@aguz.me>
```

## Parents

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

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