UNPKG

657 BTypeScriptView Raw
1import { CSSProperties, FunctionComponent, ReactElement, ReactNode } from 'react';
2export interface TabGroupProps {
3 /** 选项卡头显示文字 */
4 tab?: ReactNode | string;
5 style?: CSSProperties;
6 className?: string;
7 rootPrefixCls?: string;
8 disabled?: boolean;
9 dot?: boolean;
10 children?: ReactNode;
11 defaultActiveKey?: string;
12}
13declare const TabGroup: FunctionComponent<TabGroupProps>;
14export declare type TabGroupType = typeof TabGroup & {
15 __IS_TAB_GROUP: boolean;
16};
17export declare function isTabGroup(el: ReactNode): el is ReactElement<TabGroupProps>;
18declare const _default: TabGroupType;
19export default _default;