UNPKG

@uiw/react-tabs-draggable

Version:
14 lines (13 loc) 548 B
import { FC, PropsWithChildren } from 'react'; export * from './Tab'; export * from './hooks'; export interface TabsProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> { activeKey?: string; onTabClick?: (id: string, evn: React.MouseEvent<HTMLDivElement>) => void; /** * Optional. Called when a compatible item is dropped on the target. */ onTabDrop?: (id: string, index?: number) => void; } declare const TabContainer: FC<PropsWithChildren<TabsProps>>; export default TabContainer;