UNPKG

@unicity/design-system

Version:

A comprehensive React component library built on Material-UI with advanced theming capabilities including neumorphism design support

37 lines 892 B
import React from 'react'; import { TabsProps as MuiTabsProps } from '@mui/material'; export interface TabData { label: string; value: string; disabled?: boolean; icon?: React.ReactElement; content?: React.ReactNode; } export interface TabsProps extends Omit<MuiTabsProps, 'onChange'> { /** * Array of tabs */ tabs: TabData[]; /** * The currently selected tab value */ value: string; /** * Callback fired when tab changes */ onChange: (value: string) => void; /** * The variant of the tabs */ variant?: 'standard' | 'scrollable' | 'fullWidth'; /** * The orientation of the tabs */ orientation?: 'horizontal' | 'vertical'; /** * Whether to show tab panels */ showPanels?: boolean; } export declare const Tabs: React.FC<TabsProps>; //# sourceMappingURL=Tabs.d.ts.map