choerodon-ui
Version:
An enterprise-class UI design language and React-based implementation
16 lines (15 loc) • 615 B
TypeScript
import { CSSProperties, FunctionComponent, Key, MouseEvent, ReactNode } from 'react';
import { TabsType } from './enum';
export interface TabBarProps {
inkBarAnimated?: boolean | undefined;
scrollAnimated?: boolean | undefined;
extraContent?: ReactNode;
style?: CSSProperties | undefined;
inkBarStyle?: CSSProperties | undefined;
tabBarGutter?: number | undefined;
className?: string | undefined;
type?: TabsType | undefined;
onRemoveTab: (targetKey: Key | null, e: MouseEvent<HTMLElement>) => void;
}
declare const TabBar: FunctionComponent<TabBarProps>;
export default TabBar;