# Rework \`Disclosure\` component \(\#3442\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 509504d4d2a0491539064e4cdda8ad844f01ba96

Requested commit: 509504d4d2a0491539064e4cdda8ad844f01ba96

Commit: 509504d4d2a0491539064e4cdda8ad844f01ba96

Tree: d57698324b9457cec96005982d11ea55dac34121

Author: Marshall Bowers

Committer: GitHub

## Message

```
Rework `Disclosure` component (#3442)

This PR reworks the `Disclosure` component.

The primary goal here was to remove the illegal state where a
`Disclosure` is rendered with a `Toggle::NotToggleable` state, as the
`Disclosure` shouldn't exist at all in this case.

Release Notes:

- N/A
```

## Parents

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

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

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