UNPKG

@visa/nova-react

Version:

Visa Product Design System Nova React library. Compatible with React ^19.

21 lines (20 loc) 888 B
import type { ComponentPropsWithRef, ElementType } from 'react'; import { type MessageProperties } from '../message'; export type DialogProperties<ET extends ElementType = 'dialog'> = { /** Message Type */ messageType?: MessageProperties['messageType']; /** Tag of Component */ tag?: ElementType; } & ComponentPropsWithRef<ET>; /** * Pop-up windows that overlay page content to facilitate user interactions or show important information. * @docs {@link https://design.visa.com/components/dialog/?code_library=react | See Docs} * @related dialog-close-button, dialog-header, message-content, use-focus-trap * @vgar TODO * @wcag TODO */ declare const Dialog: { <ET extends ElementType = "dialog">({ className, messageType, tag, ...remainingProps }: DialogProperties<ET>): import("react/jsx-runtime").JSX.Element; displayName: string; }; export default Dialog;