Skeleton builder
Placeholder rows shown while a list's real shape is unknown.
A builder is RenderOnce. Construct and mount it in one expression.
use gpui_kit::display::Skeleton;
Construct
new(ident: impl Into<Ident>) -> SelfOptions
Chain onto the value.
label(label: impl Into<gpui::SharedString>) -> Self
rows(rows: usize) -> Self
row_height(row_height: f32) -> SelfRendered by
Each of these compiles and is captured by the gate, so the code behind them is verified rather than written.