UNPKG

@payfit/unity-components

Version:

13 lines (12 loc) 662 B
import { VariantProps } from '@payfit/unity-themes'; import { TabsProps as AriaTabsProps } from 'react-aria-components/Tabs'; import { tabsVariant } from './Tabs.variant.js'; export interface TabsProps extends Omit<AriaTabsProps, 'isDisabled' | 'orientation' | 'className' | 'style' | 'disabledKeys' | 'keyboardActivation' | 'slot'>, VariantProps<typeof tabsVariant> { /** set to true to make the tabs scrollable */ scrollable?: boolean; } /** * Tabs allow users to explore and switch between different views. */ declare const Tabs: import('react').ForwardRefExoticComponent<TabsProps & import('react').RefAttributes<HTMLDivElement>>; export { Tabs };