空白显示,用于占位提示等
Properties:
Name | Type | Description | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
props |
Object | 组件属性,内容如下
Properties
|
Examples
组件引入
// 全局模块引入
import { Nothing } from '@ccreator/smart-ui';
// 最小化模块引入
import Nothing from '@ccreator/smart-ui/dist/Nothing';
使用示例
<Nothing img={imgEmpty} show={list.length === 0} />