Viewing File: /home/maglabs/marco/wp-content/plugins/extendify/src/Chat/components/dialog/Support.jsx
import { __ } from '@wordpress/i18n';
import { external, Icon } from '@wordpress/icons';
export const Support = ({ height }) => {
if (!window.extChatData?.supportUrl) {
return <div className={`bg-design-main ${height}`} />;
}
return (
<div className="px-6 py-8">
<a
href={window.extChatData.supportUrl}
target="_blank"
rel="noopener noreferrer"
className="text-sm text-gray-800 no-underline border border-gray-300 border-solid rounded py-3 px-4 flex items-center gap-4">
<span>
{__(
'For other questions, visit our support page.',
'extendify-local',
)}
</span>
<Icon icon={external} className="w-8" />
</a>
</div>
);
};
Back to Directory
File Manager