@visa/nova-react
Version:
Visa Product Design System Nova React library
13 lines (12 loc) • 727 B
TypeScript
import { ForwardedRef } from 'react';
import { ButtonProperties } from '../button';
export type AccordionHeadingProperties = Omit<ButtonProperties, 'element'>;
/**
* Default summary element, styled as a button that is used to expand and collapse content.
* @docs {@link https://design.visa.com/react/components/accordion | See Docs}
*/
declare const _default: <HTMLElementType = HTMLButtonElement>(props: {
children?: import("react").ReactNode | import("react").ReactNode[];
ref?: ForwardedRef<HTMLElementType> | undefined;
} & import("react").AllHTMLAttributes<HTMLElementType> & import("react").SVGAttributes<HTMLElementType> & AccordionHeadingProperties) => import("react").ReactElement;
export default _default;