@visa/nova-react
Version:
Visa Product Design System Nova React library. Compatible with React ^19.
18 lines (17 loc) • 735 B
TypeScript
import type { ComponentPropsWithRef, ElementType } from 'react';
export type AccordionProperties<ET extends ElementType = 'details'> = {
/** Tag of Component */
tag?: ElementType;
} & ComponentPropsWithRef<ET>;
/**
* Sets of vertical headers that reveal or hide the accordion panel.
* @docs {@link https://design.visa.com/components/accordion/?code_library=react | See Docs}
* @related accordion-heading, accordion-panel, accordion-toggle-icon, use-accordion
* @vgar TODO
* @wcag TODO
*/
declare const Accordion: {
<ET extends ElementType = "details">({ className, tag: Tag, ...remainingProps }: AccordionProperties<ET>): import("react/jsx-runtime").JSX.Element;
displayName: string;
};
export default Accordion;