@visa/nova-react
Version:
Visa Product Design System Nova React library
17 lines (16 loc) • 685 B
TypeScript
import { ForwardedRef, ReactNode } from 'react';
import { ButtonProperties } from '../button';
export type MessageCloseButtonProperties = {
/** @deprecated migrate to `aria-label` */
ariaLabel?: string;
/** @ignore */
children?: ReactNode;
} & ButtonProperties;
/**
* Close button for message component.
*/
declare const _default: <HTMLElementType = HTMLButtonElement>(props: {
children?: ReactNode | ReactNode[];
ref?: ForwardedRef<HTMLElementType> | undefined;
} & import("react").AllHTMLAttributes<HTMLElementType> & (import("react").SVGAttributes<HTMLElementType> & MessageCloseButtonProperties)) => import("react").ReactElement;
export default _default;