For AI agents: the complete documentation index is available at https://rickyshin93.github.io/tao-ui/zh/llms.txt, the full documentation bundle is available at https://rickyshin93.github.io/tao-ui/zh/llms-full.txt, and this page is available as Markdown at https://rickyshin93.github.io/tao-ui/zh/components/empty.md.
v0.0.57
  • 简体中文
  • Empty

    数据展示@rockshin/tao-ui

    说明集合为空的原因,并提供下一步操作。

    何时使用

    用于列表、搜索结果或面板中没有记录的状态。说明当前视图为什么为空,并给出可执行的下一步。

    示例

    默认与简洁插画

    内容区域较小时可使用简洁插画。

    390 × 640
    TSX

    创建第一条记录

    底部可放置操作按钮。此例仅在本地 React 状态中创建记录。

    Create your first project to start organizing work.
    TSX

    自定义插画

    image 接收 React 节点,使用 styles.image 调整插画容器。

    The archive is empty
    TSX

    继承全局语言

    省略 description 时使用 TaoProvider 的 locale.emptyDescription;显式 description 优先。

    No data
    暂无数据
    TSX

    紧凑与纯插画状态

    description= 隐藏描述;周围界面仍应有明确说明。

    No saved filters

    TSX

    API

    Empty

    属性说明类型默认值
    imageStyle@deprecated Use styles.image.CSSProperties | undefined-