UNPKG

react-popup-alert

Version:
20 lines (19 loc) 687 B
/// <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;