| Server IP : 213.186.33.2 / Your IP : 216.73.216.39 Web Server : Apache System : Linux webm005.cluster102.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : symetry ( 21728) PHP Version : 8.2.31 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/symetry/www/wp-content/plugins/contact-form-7-honeypot/src/components/ |
Upload File : |
import { CheckCircleOutlineSharp, ErrorOutlineSharp, ReportGmailerrorredRounded, WarningAmberTwoTone } from "@mui/icons-material";
const CF7AppsNotice = ({ type = 'success', text = '' }) => {
const getIcon = (type) => {
switch (type) {
case 'danger':
return <WarningAmberTwoTone />;
case 'warning':
return <ReportGmailerrorredRounded />;
case 'info':
return <ErrorOutlineSharp />;
case 'success':
return <CheckCircleOutlineSharp />;
default:
return null;
}
};
return (
<div className={`cf7apps-notice cf7apps-notice-${type}`}>
<p>
{getIcon(type)}
<span dangerouslySetInnerHTML={ { __html: text } }></span>
</p>
</div>
);
}
export default CF7AppsNotice;