Expand description
Empty state component: a centred message for lists and panels with no content.
let create = EmptyState::new("No alerts yet")
.icon(&egui_charts::icons::icons::ALERTS)
.description("Create one from the toolbar or the chart menu.")
.action("Create alert")
.fill_height()
.show(ui);Structsยง
- Empty
State - A horizontally centred empty-state placeholder: optional icon, message, optional description and optional primary action.