@visa/nova-react
Version:
Visa Product Design System Nova React library
20 lines (19 loc) • 835 B
TypeScript
import { ElementType, ForwardedRef } from 'react';
export type AccordionProperties = {
/** @ignore */
className?: string;
/** Tag of Component */
tag?: ElementType;
};
/**
* Sets of vertical headers that reveal or hide the accordion panel.
* @docs {@link https://design.visa.com/react/components/accordion | See Docs}
* @related accordion-heading, accordion-panel, accordion-toggle-icon, use-accordion
* @vgar TODO
* @wcag TODO
*/
declare const _default: <HTMLElementType = HTMLDetailsElement>(props: {
children?: import("react").ReactNode | import("react").ReactNode[];
ref?: ForwardedRef<HTMLElementType> | undefined;
} & import("react").AllHTMLAttributes<HTMLElementType> & import("react").SVGAttributes<HTMLElementType> & AccordionProperties) => import("react").ReactElement;
export default _default;