UNPKG

658 BTypeScriptView Raw
1import { CSSProperties, FunctionComponent, ReactNode } from 'react';
2export interface TabPaneProps {
3 /** 选项卡头显示文字 */
4 tab?: ReactNode | ((title?: string) => ReactNode);
5 title?: string;
6 style?: CSSProperties;
7 active?: boolean;
8 closable?: boolean;
9 className?: string;
10 rootPrefixCls?: string;
11 disabled?: boolean;
12 forceRender?: boolean;
13 destroyInactiveTabPane?: boolean;
14 count?: number | (() => number | undefined);
15 overflowCount?: number;
16 showCount?: boolean;
17 placeholder?: ReactNode;
18 sort?: number;
19}
20declare const TabPane: FunctionComponent<TabPaneProps>;
21export default TabPane;
22
\No newline at end of file