UNPKG

@visa/nova-react

Version:

Visa Product Design System Nova React library

25 lines (24 loc) 1.03 kB
import { ForwardedRef, ReactElement } from 'react'; export type AccordionToggleIconProperties = { /** manually assign the open state of the accordion */ accordionOpen?: boolean; /** @ignore */ children?: never; /** @ignore */ className?: string; /** The icon in closed state */ elementClosed?: ReactElement; /** The icon in the open state */ elementOpen?: ReactElement; /** @deprecated Migrate to `elementClosed` and `elementOpen` */ tag?: never; }; /** * Component containing the icon and logic for the accordion toggle icon. * @docs {@link https://design.visa.com/react/components/accordion | See Docs} */ declare const _default: <HTMLElementType = HTMLElement>(props: { children?: import("react").ReactNode | import("react").ReactNode[]; ref?: ForwardedRef<HTMLElementType> | undefined; } & import("react").AllHTMLAttributes<HTMLElementType> & import("react").SVGAttributes<HTMLElementType> & AccordionToggleIconProperties) => ReactElement; export default _default;