UNPKG

grepsr-ui-elements

Version:

29 lines (28 loc) 827 B
/// <reference types="react" /> import { AlertProps } from '@mui/material'; import PropTypes from 'prop-types'; interface ExtendAlertProps extends AlertProps { backgroundColor?: string; padding?: any; onClose?: () => void | undefined; } export { ExtendAlertProps }; declare const GrepsrAlert: { (props: ExtendAlertProps): JSX.Element; defaultProps: { title: string; color: string; variant: string; severity: string; icon: boolean; onClose: undefined; }; propTypes: { icon: PropTypes.Requireable<PropTypes.ReactNodeLike>; title: PropTypes.Validator<any>; color: PropTypes.Requireable<string>; severity: PropTypes.Requireable<string>; variant: PropTypes.Requireable<string>; }; }; export default GrepsrAlert;