mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-06 05:59:46 +08:00
2b53c74f3a
* chore: update type result
41 lines
839 B
TypeScript
41 lines
839 B
TypeScript
import { VNodeChild } from 'vue';
|
|
import { AntdComponent } from './component';
|
|
|
|
export declare class Result extends AntdComponent {
|
|
$props: {
|
|
/**
|
|
* result title
|
|
* @type string
|
|
*/
|
|
title?: VNodeChild | JSX.Element;
|
|
|
|
/**
|
|
* result sub title
|
|
*
|
|
* @type string
|
|
*/
|
|
subTitle?: VNodeChild | JSX.Element;
|
|
|
|
/**
|
|
* result status,decide icons and colors
|
|
* enum of 'success' | 'error' | 'info' | 'warning'| '404' | '403' | '500'` | 'info'
|
|
*
|
|
* @default 'info'
|
|
* @type string
|
|
*/
|
|
status?: 'success' | 'error' | 'info' | 'warning' | '404' | '403' | '500';
|
|
|
|
/**
|
|
* custom back icon
|
|
* @type any v-slot
|
|
*/
|
|
icon?: VNodeChild | JSX.Element;
|
|
|
|
/**
|
|
* operating area
|
|
* @type any v-slot
|
|
*/
|
|
extra?: VNodeChild | JSX.Element;
|
|
};
|
|
}
|