UNPKG

690 BTypeScriptView Raw
1import * as React from "react";
2import { BoxProps } from "../Box";
3import { IModal } from "../Modal";
4import { Omit } from "../common-types";
5import { CloseButtonProps } from "../CloseButton";
6
7interface IAlertDialog extends Omit<IModal, "initialFocusRef"> {
8 leastDestructiveRef: React.RefObject<HTMLElement>;
9}
10
11export const AlertDialog: React.FC<IAlertDialog>;
12export const AlertDialogHeader: React.FC<BoxProps>;
13export const AlertDialogBody: React.FC<BoxProps>;
14export const AlertDialogContent: React.FC<BoxProps>;
15export const AlertDialogOverlay: React.FC<BoxProps>;
16export const AlertDialogFooter: React.FC<BoxProps>;
17export const AlertDialogCloseButton: React.FC<CloseButtonProps>;