@visa/nova-react
Version:
Visa Product Design System Nova React library. Compatible with React ^19.
24 lines (23 loc) • 864 B
TypeScript
import type { ComponentPropsWithRef, ElementType } from 'react';
export type NavProperties<ET extends ElementType = 'nav'> = {
/** Alternate */
alternate?: boolean;
/** Drawer */
drawer?: boolean;
/** Orientation */
orientation?: 'horizontal' | 'vertical';
/** Tag of Component */
tag?: ElementType;
} & ComponentPropsWithRef<ET>;
/**
* Menu or panel at the top or next to page content that links to important pages or features.
* @docs {@link https://design.visa.com/components/horizontal-navigation/?code_library=react | See Docs}
* @vgar TODO
* @wcag TODO
* @related tab, tabs
*/
declare const Nav: {
<ET extends ElementType = "nav">({ alternate, className, drawer, orientation, tag: Tag, ...remainingProps }: NavProperties<ET>): import("react/jsx-runtime").JSX.Element;
displayName: string;
};
export default Nav;