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.
16 lines (15 loc) • 608 B
TypeScript
import React, { SyntheticEvent } from 'react';
import { SxProps } from '@mui/material';
import { ColorVariant, DataTabs, MuiTabsBaseProps, TabsVariant } from '@/types';
import { Theme } from '@emotion/react';
interface Props extends MuiTabsBaseProps {
sx?: SxProps<Theme>;
tabs: DataTabs[];
tab: number;
onTabChange: (event: SyntheticEvent, tab: number) => void;
color?: ColorVariant;
variant?: TabsVariant;
info?: React.ReactNode;
}
declare const UncontrolledTabs: ({ tabs, tab, color, onTabChange, info, ...props }: Props) => React.JSX.Element;
export default UncontrolledTabs;