UNPKG

@visa/nova-react

Version:

Visa Product Design System Nova React library. Compatible with React ^19.

22 lines (21 loc) 807 B
import type { ComponentPropsWithRef, ElementType } from 'react'; export type TabsProperties<ET extends ElementType = 'ul'> = { /** Orientation */ orientation?: 'horizontal' | 'vertical'; /** Stacked */ stacked?: boolean; /** Tag of Component */ tag?: ElementType; } & ComponentPropsWithRef<ET>; /** * Organizational element that separates content and allows users to switch between views. * @docs {@link https://design.visa.com/components/tabs/?code_library=react | See Docs} * @related tab, tab-suffix, use-tabs * @vgar TODO * @wcag TODO */ declare const Tabs: { <ET extends ElementType = "ul">({ className, orientation, stacked, tag: Tag, ...remainingProps }: TabsProperties<ET>): import("react/jsx-runtime").JSX.Element; displayName: string; }; export default Tabs;