import React from "react"; import type { CallbacksValue, EventsValue, RemoteValue, Action } from "@feige0629/react-store"; type DragTabProps = { /** * 当前组件id,主要为了记录当前组件Collapse状态 */ activeId: string; /** * 标题 */ label: string; /** * 选中tab id */ activeKey?: string; /** * 列表 */ tabItems: Record[]; /** * 是否展开 */ expand?: boolean; /** * 子组件 */ children: (item: CallbacksValue & EventsValue & RemoteValue & Action) => React.ReactNode; /** * 新增回调 */ onAdd?: () => void; /** * 删除回调 */ onRemove?: () => void; /** * 拖拽回调 */ onDragChange?: (data: Record[]) => void; /** * 切换选项卡 */ onActiveChange?: (activeKey: string) => void; }; export declare const DragTab: React.FC; export {};