ant-design-vue/types/tabs/tab-pane.d.ts

30 lines
726 B
TypeScript
Raw Normal View History

// Project: https://github.com/vueComponent/ant-design-vue
// Definitions by: akki-jat <https://github.com/akki-jat>
// Definitions: https://github.com/vueComponent/ant-design-vue/types
2020-08-31 06:59:56 +00:00
import { AntdComponent, AntdProps } from '../component';
2020-08-21 14:12:55 +00:00
import { VNodeChild } from 'vue';
export declare class TabPane extends AntdComponent {
2020-08-31 06:59:56 +00:00
$props: AntdProps & {
2020-08-21 14:12:55 +00:00
/**
* Forced render of content in tabs, not lazy render after clicking on tabs
* @default false
* @type boolean
*/
forceRender?: boolean;
2020-08-21 14:12:55 +00:00
/**
* TabPane's key
* @type string
*/
key?: string;
2020-08-21 14:12:55 +00:00
/**
* Show text in TabPane's head
* @type any (string | slot)
*/
tab?: VNodeChild | JSX.Element;
2020-08-30 14:59:47 +00:00
};
}