@uyun/pro-empty
空状态
Last updated 3 years ago by liws .
UNLICENSED · Repository ·
$ cnpm install @uyun/pro-empty 
Private package

空状态

空状态时的展示占位图。当目前没有数据时,用于显式的用户提示。

安装

yarn add @uyun/pro

使用

import { Empty } from "@uyun/pro";

示例

暂无数据

<Example path="Data" />

列表为空

<Example path="Table" />

暂无收藏

<Example path="Favorite" />

加载失败

<Example path="Loading" />

搜索无结果

<Example path="Search" />

数据未导入

<Example path="Import" />

网络错误

<Example path="Internet" />

暂无消息

<Example path="Notification" />

暂无权限

<Example path="Privilege" />

属性

字段 说明 类型 默认值
type 异常类型,可选值参考示例 string -
image 设置显示图片 string -
description 自定义描述内容 string | ReactNode -

Current Tags

  • 1.0.1-dev.0                                ...           dev (3 years ago)
  • 1.0.2                                ...           latest (3 years ago)

12 Versions

  • 1.0.2                                ...           3 years ago
  • 1.0.1                                ...           3 years ago
  • 1.0.1-dev.0                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
  • 0.1.2-dev.0                                ...           3 years ago
  • 0.1.2-alpha.5                                ...           3 years ago
  • 0.1.2-alpha.4                                ...           3 years ago
  • 0.1.2-alpha.3                                ...           3 years ago
  • 0.1.2-alpha.2                                ...           3 years ago
  • 0.1.2-alpha.1                                ...           3 years ago
  • 0.1.2-alpha.0                                ...           3 years ago
  • 0.1.1-alpha.0                                ...           3 years ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (3)
Dev Dependencies (1)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org