UNPKG

615 BTypeScriptView Raw
1import { CSSProperties, FunctionComponent, Key, MouseEvent, ReactNode } from 'react';
2import { TabsType } from './enum';
3export interface TabBarProps {
4 inkBarAnimated?: boolean | undefined;
5 scrollAnimated?: boolean | undefined;
6 extraContent?: ReactNode;
7 style?: CSSProperties | undefined;
8 inkBarStyle?: CSSProperties | undefined;
9 tabBarGutter?: number | undefined;
10 className?: string | undefined;
11 type?: TabsType | undefined;
12 onRemoveTab: (targetKey: Key | null, e: MouseEvent<HTMLElement>) => void;
13}
14declare const TabBar: FunctionComponent<TabBarProps>;
15export default TabBar;