@wulperstudio/cms
Version:
Wulper Studio Library Components CMS
22 lines (21 loc) • 602 B
TypeScript
import { ReactNode } from 'react';
import { BoxProps, TabProps, TabsProps } from '@mui/material';
import { Omit } from '../../types';
interface TabsCustomModel {
label: string;
items: ReactNode;
}
export interface WTabsCustomPropsModel {
tabs: Array<TabsCustomModel>;
tabsProps?: TabsProps;
tabProps?: Omit<TabProps, 'label'>;
tabPanelProps?: Omit<TabPanelCustomPropsModel, 'value' | 'index'>;
}
export interface TabPanelCustomPropsModel {
children?: ReactNode;
index: number;
value: number;
containerProps?: BoxProps;
childrenProps?: BoxProps;
}
export {};