PluginProbe
Extendify / 0.10.1
Extendify v0.10.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 / Library / components / notices / FeedbackNotice.js

FeedbackNotice.js in Extendify 0.10.1, at src/Library/components/notices/FeedbackNotice.js

32 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 import { Button } from '@wordpress/components'
2 import { __ } from '@wordpress/i18n'
3 import { General } from '@library/api/General'
4
5 export default function FeedbackNotice() {
6 return (
7 <>
8 <span className="text-black">
9 {__(
10 'Tell us how to make the Extendify Library work better for you',
11 'extendify',
12 )}
13 </span>
14 <span className="px-2 opacity-50" aria-hidden="true">
15 &#124;
16 </span>
17 <div className="flex items-center justify-center space-x-2">
18 <Button
19 variant="link"
20 className="h-auto p-0 text-black underline hover:no-underline"
21 href={`https://extendify.com/feedback/?utm_source=${window.extendifyData.sdk_partner}&utm_medium=library&utm_campaign=feedback-notice&utm_content=give-feedback`}
22 onClick={async () =>
23 await General.ping('feedback-notice-click')
24 }
25 target="_blank">
26 {__('Give feedback', 'extendify')}
27 </Button>
28 </div>
29 </>
30 )
31 }
32