Rework ListItem and ListHeader to use slot-based APIs (#3635)

This PR reworks the `ListItem` and `ListHeader` components to use
slot-based APIs, making them less opinionated about their contents.

Splitting this out of the collab UI styling PR so we can land it to
avoid conflicts.

Co-authored-by: Nate <nate@zed.dev>

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers
2023-12-13 16:08:31 -05:00
committed by GitHub
co-authored by Nate
parent 5c8257585a
commit ee509e043d
10 changed files with 267 additions and 109 deletions
-1
View File
@@ -271,7 +271,6 @@ impl<D: PickerDelegate> Render for Picker<D> {
},
)
.track_scroll(self.scroll_handle.clone())
.p_1()
)
.max_h_72()
.overflow_hidden(),