choerodon-ui
Version:
An enterprise-class UI design language and React-based implementation
22 lines (21 loc) • 658 B
TypeScript
import { CSSProperties, FunctionComponent, ReactNode } from 'react';
export interface TabPaneProps {
/** 选项卡头显示文字 */
tab?: ReactNode | ((title?: string) => ReactNode);
title?: string;
style?: CSSProperties;
active?: boolean;
closable?: boolean;
className?: string;
rootPrefixCls?: string;
disabled?: boolean;
forceRender?: boolean;
destroyInactiveTabPane?: boolean;
count?: number | (() => number | undefined);
overflowCount?: number;
showCount?: boolean;
placeholder?: ReactNode;
sort?: number;
}
declare const TabPane: FunctionComponent<TabPaneProps>;
export default TabPane;