Empty
Data Display
@rockshin/tao-uiExplains why a collection has no content and provides a useful next action.
When to use
Use inside lists, search results and compact panels when no records are available. Keep the explanation specific to the current view.
Examples
Default and simple illustrations
Use the simple illustration in compact content areas.
Create the first item
The footer can contain an action. This example creates an item only in local React state.
Create your first project to start organizing work.
Custom illustration
Pass a React node to image and adjust its container through styles.image.
The archive is empty
Provider language
Omitting description uses TaoProvider locale.emptyDescription. An explicit description takes priority.
No data
暂无数据
Compact and image-only states
Set description to false to hide it. Keep a visible explanation elsewhere in the surrounding interface.