ds-smart-ui
Version:
Smart UI is a React component library that helps you build accessible and responsive web applications.
24 lines (22 loc) • 626 B
TypeScript
import { ButtonColorTypes } from '../../../types/button-types';
type DialogSize = "sm" | "md" | "lg" | "xl";
export interface DialogProps {
isOpen: boolean;
onClose: () => void;
onConfirm?: () => void;
title?: string;
size?: DialogSize;
fullWidth?: boolean;
confirmButtonText?: string;
closeButtonText?: string;
noHeader?: boolean;
noFooter?: boolean;
color?: ButtonColorTypes;
disabled?: boolean;
isLoading?: boolean;
closeOnOverlayClick?: boolean;
children?: React.ReactNode;
id?: string;
}
declare const Dialog: React.FC<DialogProps>;
export default Dialog;