react-popup-alert
Version:
Alert popup for ReactJS
20 lines (19 loc) • 687 B
TypeScript
/// <reference types="react" />
import './styles.scss';
interface AlertProps {
text: string;
onClosePress: Function;
show: boolean;
header?: string | undefined;
btnText?: string | undefined;
showBorderBottom?: boolean;
type?: string;
color?: string;
pressCloseOnOutsideClick?: boolean;
alertStyles?: object;
headerStyles?: object;
textStyles?: object;
buttonStyles?: object;
}
declare const AlertReact: ({ header, btnText, text, show, showBorderBottom, type, color, onClosePress, pressCloseOnOutsideClick, alertStyles, headerStyles, textStyles, buttonStyles }: AlertProps) => JSX.Element;
export default AlertReact;