test-nut-ui
Version:
<p align="center"> <img alt="logo" src="https://img11.360buyimg.com/imagetools/jfs/t1/211965/25/7152/22022/61b16785E433119bb/aa41d7a9f7e823f3.png" width="150" style="margin-bottom: 10px;"> </p>
37 lines (36 loc) • 922 B
TypeScript
import React, { FunctionComponent, ReactNode } from 'react';
import { BasicComponent } from '../../utils/typings';
import '@nascent/nutui-icons-react/lib/style.css';
export interface EmptyProps extends BasicComponent {
/**
* 图片,支持传入图片 URL
* @default -
*/
image?: ReactNode
/**
* 图片大小,number 类型单位为 px
* @default -
*/
imageSize: number | string
/**
* 图片下方的描述文字
* @default -
*/
description: ReactNode
/**
* 默认图片错误类型
* @default empty
*/
status: 'empty' | 'face'
/**
* 是否撑满屏幕
* @default true
*/
isFull: boolean
/**
* isFull为true是,顶部导航栏是否为小程序自带
* @default false
*/
withTabbar: boolean
}
export declare const Empty: FunctionComponent<Partial<EmptyProps> & React.HTMLAttributes<HTMLDivElement>>;