UNPKG

742 BTypeScriptView Raw
1import * as React from 'react';
2import { TabBarItemProps, TabBarProps } from './PropsType';
3export declare class Item extends React.Component<TabBarItemProps, any> {
4 static defaultProps: TabBarItemProps;
5 render(): JSX.Element;
6}
7export interface AntTabbarProps extends TabBarProps {
8 prefixCls?: string;
9 className?: string;
10 hidden?: boolean;
11 placeholder?: React.ReactNode;
12 noRenderContent?: boolean;
13 prerenderingSiblingsNumber?: number;
14}
15declare class AntTabBar extends React.Component<AntTabbarProps, any> {
16 static defaultProps: AntTabbarProps;
17 static Item: typeof Item;
18 getTabs: () => TabBarItemProps[];
19 renderTabBar: () => JSX.Element;
20 render(): JSX.Element;
21}
22export default AntTabBar;