Skip to main content
zerotal

Documentation


Documentation / @zerotal/admin / index / EmptyState

Interface: EmptyState

Defined in: admin/src/Resource.ts:107

What the list shows in place of a table when the resource holds nothing.

Properties

heading

heading: string

Defined in: admin/src/Resource.ts:108


description?

optional description?: string

Defined in: admin/src/Resource.ts:110

A sentence explaining why it's empty and what fills it.


icon?

optional icon?: string

Defined in: admin/src/Resource.ts:112

Icon name from the panel's icon set.


actions?

optional actions?: ActionItem[]

Defined in: admin/src/Resource.ts:114

Offered alongside the message — usually a create action.