UNPKG

@ucloud-pccl/react-components

Version:
15 lines (14 loc) 510 B
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;