@ucloud-pccl/react-components
Version:
UCloud pccl react components
15 lines (14 loc) • 510 B
TypeScript
import React, { KeyboardEvent, Key } from 'react';
import { Panes, TabBarPosition } from './shared';
interface TabBarProps {
onKeyDown: (e: KeyboardEvent) => void;
tabBarPosition: TabBarPosition;
onTabClick: (activeKey: Key) => void;
panes: Panes;
activeKey: Key | null;
direction: string;
styleType: string;
handlePaneDelete?: (activeKey: string) => void;
}
declare const _default: React.MemoExoticComponent<(props: TabBarProps) => React.JSX.Element>;
export default _default;