norma-library
Version:
Olos/Norma-DS. Design System based on Material UI, developed with TypeScript and Styled Components to create reusable and consistent components in web applications.
20 lines (17 loc) • 526 B
text/typescript
import { SxProps } from '@mui/material';
import { Theme } from '@emotion/react';
import { ColorVariant, DataTabs, MuiTabsBaseProps, TabsVariant } from '../types';
export interface TabsBaseProps extends MuiTabsBaseProps {
sx?: SxProps<Theme>;
children?: React.ReactNode;
onChange?: (event: React.SyntheticEvent, value: any) => void;
color?: ColorVariant;
variant?: TabsVariant;
value?: any;
data?: DataTabs[];
}
export interface TabPanelProps {
children?: React.ReactNode;
index: number;
value: number;
}