UNPKG

@wulperstudio/cms

Version:
31 lines (30 loc) 858 B
import React from 'react'; import { TabsProps, BoxProps, TabProps } from '@mui/material'; export interface TabModel extends TabProps { items: React.ReactNode; disabled?: boolean; onClick?: () => void; } export interface TabsFlexPropsModel { tabs: TabModel[]; color?: string; border?: string; borderRadius?: string; backgroundColor?: string; backgroundColorSelected?: string; colorSelected?: string; indicator?: boolean; noPanels?: boolean; dividerBottom?: boolean; disableGrow?: boolean; tabsProps?: TabsProps; defaultValue?: number; containerProps?: BoxProps; containerPanel?: BoxProps; tabPanelProps?: TabPanelPropsModel; } export interface TabPanelPropsModel extends BoxProps { index: number; value: number; } export declare const TabsFlex: React.FC<TabsFlexPropsModel>;