admin-vben5/packages/@core/ui-kit/tabs-ui/src/interface.ts

13 lines
295 B
TypeScript
Raw Normal View History

2024-05-25 22:10:21 +08:00
import type { IContextMenuItem } from '@vben-core/shadcn-ui';
import type { TabItem } from '@vben-core/typings';
interface TabsProps {
maxWidth?: number;
menus?: (data: any) => IContextMenuItem[];
minWidth?: number;
showIcon?: boolean;
tabs?: TabItem[];
}
export type { TabsProps };