Files
zed/crates/component
Parker Loflin 54fff2ff5b component: Remove no-op grow and vertical options (#67220)
## Summary

`ComponentExampleGroup::grow()` and `vertical()` set fields that
`render` never reads, so all 28 calls did nothing. Removes the fields,
the builders and the calls. Also removes the unused `sorted_previews`
and `empty_example`.

**Most of the diff is rustfmt reflowing `GitPanel`'s preview. With
whitespace hidden, it's +28/−77.**

## Testing

- `./script/clippy`
- To check by hand, open the component preview: the affected examples
should render unchanged.

## Self-review

- [x] I've reviewed my diff for quality, security, reliability, and
performance.
- [x] UI changes follow the
[checklist](https://zed.dev/docs/development/ui-checklist).
- [x] Tests cover the new or changed behavior.

Release Notes:

- N/A
2026-11-20 22:22:28 +00:00
..
…