PluginProbe
Extendify / 3.1.4
Extendify v3.1.4
3.2.0 3.1.6 3.1.5 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.6 3.0.5 3.0.4 trunk 0.1.0 0.10.0 0.10.1 0.10.2 0.11.0 0.11.1 0.2.0 0.3.0 0.3.1 0.4.0 0.5.0 0.6.0 0.7.0 All 126 releases
extendify / src / Agent / components / ErrorMessage.jsx

ErrorMessage.jsx in Extendify 3.1.4, at src/Agent/components/ErrorMessage.jsx

27 lines 892 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 import { __ } from '@wordpress/i18n';
2
3 export const ErrorMessage = ({ children }) => (
4 <div className="mb-4 ms-12 me-2 min-w-0 flex-1 flex-col gap-1 rtl:flex">
5 <div className="flex items-center gap-2 border-l-4 border-l-wp-alert-red bg-wp-notice-error p-3 text-gray-900">
6 <div className="text-wp-alert-red">
7 <svg
8 xmlns="http://www.w3.org/2000/svg"
9 fill="none"
10 viewBox="0 0 24 24"
11 strokeWidth={1.5}
12 stroke="currentColor"
13 className="size-6"
14 >
15 <title>{__('Error icon', 'extendify-local')}</title>
16 <path
17 strokeLinecap="round"
18 strokeLinejoin="round"
19 d="M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126ZM12 15.75h.007v.008H12v-.008Z"
20 />
21 </svg>
22 </div>
23 <div className="text-sm">{children}</div>
24 </div>
25 </div>
26 );
27