@uiw/react-tabs-draggable
Version:
Draggable tabs for React.
15 lines (14 loc) • 395 B
TypeScript
import { FC, PropsWithChildren } from 'react';
export declare const ItemTypes: {
Tab: string;
};
export interface TabProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> {
id: string;
index?: number;
}
export interface DragItem {
index: number;
id: string;
type: string;
}
export declare const Tab: FC<PropsWithChildren<TabProps>>;