@bigbinary/neetoui
Version:
neetoUI drives the experience at all neeto products
24 lines (21 loc) • 568 B
TypeScript
import React from "react";
export interface AlertProps {
size?: "small" | "medium" | "large";
isOpen?: boolean;
isSubmitting?: boolean;
className?: string;
closeOnEsc?: boolean;
closeButton?: boolean;
backdropClassName?: string;
closeOnOutsideClick?: boolean;
onClose?: () => void;
onSubmit?: () => void;
title?: string;
message?: React.ReactNode;
submitButtonLabel?: string;
cancelButtonLabel?: string;
initialFocusElement?: "cancel" | "submit";
hideCancelButton?: boolean;
}
const Alert: React.FC<AlertProps>;
export default Alert;