ng-layout-form
Version:
layout form
25 lines (24 loc) • 713 B
TypeScript
import { formConfProps } from '../config/interface';
import { CompDefaultPropsInfo } from '../props.dt';
export declare type TabPanelInfo = {
/**
* @description 默认选中标签页
*/
defaultActiveKey?: string;
activeKey?: string;
onChange?(key: string): void;
/**
* @description 标签页样式
*/
type?: 'line' | 'card' | 'editable-card';
children: any;
forceRender?: boolean;
panelHeight?: string | number;
panes?: Array<{
id: string;
title: string;
item: string;
}>;
formConf?: any;
};
export declare type TabPanelPropsInfo = TabPanelInfo & CompDefaultPropsInfo<formConfProps.TabPanel>;