@visa/nova-react
Version:
Visa Product Design System Nova React library
23 lines (22 loc) • 996 B
TypeScript
import { ElementType, ForwardedRef } from 'react';
import { MessageProperties } from '../message';
export type DialogProperties = {
/** @ignore */
className?: string;
/** Message Type */
messageType?: MessageProperties['messageType'];
/** Tag of Component */
tag?: ElementType;
};
/**
* Pop-up windows that overlay page content to facilitate user interactions or show important information.
* @docs {@link https://design.visa.com/react/components/dialog | See Docs}
* @related dialog-close-button, dialog-header, message-content, message-icon, use-focus-trap
* @vgar TODO
* @wcag TODO
*/
declare const _default: <HTMLElementType = HTMLDialogElement>(props: {
children?: import("react").ReactNode | import("react").ReactNode[];
ref?: ForwardedRef<HTMLElementType> | undefined;
} & import("react").AllHTMLAttributes<HTMLElementType> & import("react").SVGAttributes<HTMLElementType> & DialogProperties) => import("react").ReactElement;
export default _default;