rtaro-ui
Version:
UI KIT for Taro
45 lines (43 loc) • 762 B
TypeScript
import AtComponent from './base'
import { AtButtonProps } from './button'
export interface AtEmptyProps extends AtComponent {
visible?: boolean
/**
* 图片样式
*/
imageStyle?: React.CSSProperties
/**
* 自定义图片路径
*/
image?: string
/**
* 标题
*/
title?: string
/**
* 描述
*/
description?: string
/**
* 类型
* @default 400
*/
type?: 400 | 403
/**
* 大小
* @default 'normal'
*/
size?: 'normal' | 'small'
/**
* 按钮文本
*/
buttonText?: string
/**
* 按钮入参
*/
buttonProps?: AtButtonProps
/**
* 底部自定义渲染(与children功能相同)
*/
renderFooter?: () => JSX.Element | string
}