PluginProbe
Extendify / 1.6.1
Extendify v1.6.1
3.2.1 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 All 127 releases
extendify / src / Chat / components / dialog / Support.js

Support.js in Extendify 1.6.1, at src/Chat/components/dialog/Support.js

24 lines 743 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 import { external, Icon } from '@wordpress/icons'
2
3 export const Support = () => {
4 if (
5 !window.extChatData?.supportUrl ||
6 !window.extChatData?.supportMessage
7 ) {
8 return <div className="bg-design-main h-32" />
9 }
10
11 return (
12 <div className="px-6 py-8">
13 <a
14 href={window.extChatData.supportUrl}
15 target="_blank"
16 rel="noopener noreferrer"
17 className="text-sm text-gray-800 no-underline border border-gray-300 border-solid rounded py-3 px-4 flex items-center gap-4">
18 <span>{window.extChatData.supportMessage}</span>
19 <Icon icon={external} className="w-8" />
20 </a>
21 </div>
22 )
23 }
24