

<DemoTitle title="Empty" desc="用于空状态的占位图形展示。">
## API

| 属性名 | 描述 | 类型 | 默认值 | 
|--------|--------|--------|--------|
| type | 空状态类型 | \| 'noData'
    \| 'networkError'
    \| '404'
    \| 'arrears'
    \| 'desktopOnly'
    \| 'noAudio'
    \| 'noImage'
    \| 'noVideo'
    \| 'noAccess'
    \| 'error'
    \| 'noChat'
    \| 'noModel'
    \| 'noApp'
    \| 'success'
    \| 'failed'
    \| 'inProgress'
    \| 'stayTuned' | 'noData' | 
| texture | 是否显示纹理 | boolean | true | 
| image | 图片地址 | string | 默认是no data的图片 | 
| imageStyle | 图片样式 | React.CSSProperties |  | 
| title | 标题内容 | React.ReactNode |  | 
| description | 自定义描述内容 | React.ReactNode |  | 
| onOk | ok按钮的点击事件 | (e: React.MouseEvent) => void |  | 
| okText | ok按钮的文本 | React.ReactNode |  | 
| okType | ok按钮的类型 | SparkButtonProps['type'] | 'primary' | 
| okButtonProps | ok按钮的props | SparkButtonProps |  | 
| children | 自定义空状态的内容 | React.ReactNode |  | 
| className | 自定义空状态的类名 | string |  | 
| style | 自定义空状态的样式 | React.CSSProperties |  | 
| size | 自定义空状态的大小 | React.CSSProperties['width'] |  | 
| autoFit | 是否自适应容器宽度，当容器宽度小于 size 时自动缩放 | boolean | false | 


<AntdApiRef url="https://ant.design/components/empty-cn/#api"></AntdApiRef>

