UNPKG

@visa/nova-react

Version:

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

18 lines (17 loc) 704 B
import type { ComponentPropsWithRef, ElementType } from 'react'; export type DropdownMenuProperties<ET extends ElementType = 'div'> = { /** Scroll */ tag?: ElementType; } & ComponentPropsWithRef<ET>; /** * Interactive element enabling users to select a single option from a list. * @docs {@link https://design.visa.com/components/dropdown-menu/?code_library=react | See Docs} * @related dropdown-button, dropdown-container * @vgar TODO * @wcag TODO */ declare const DropdownMenu: { <ET extends ElementType = "div">({ className, tag: Tag, ...remainingProps }: DropdownMenuProperties<ET>): import("react/jsx-runtime").JSX.Element; displayName: string; }; export default DropdownMenu;