UNPKG

tdesign-react

Version:
13 lines (12 loc) 459 B
import React from 'react'; import { TdTabsProps, TdTabPanelProps, TabValue } from './type'; import type { DragSortInnerProps } from '../hooks/useDragSorter'; export interface TabNavProps extends TdTabsProps, DragSortInnerProps { itemList: TdTabPanelProps[]; tabClick: (s: TabValue) => void; activeValue: TabValue; size?: 'medium' | 'large'; children?: React.ReactNode; } declare const TabNav: React.FC<TabNavProps>; export default TabNav;