Current Path: > home > codekrsu > > ameliagraphics.com > wp-content > plugins > extendify > > src > Draft > components
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
image-generation | Directory | - | - | |
stock-images | Directory | - | - | |
Completion.jsx | File | 613 bytes | July 16 2024 23:59:12. | |
ConsentSidebar.jsx | File | 798 bytes | October 08 2024 14:19:28. | |
DraftMenu.jsx | File | 1248 bytes | March 04 2024 10:54:28. | |
DynamicTextarea.jsx | File | 2188 bytes | July 16 2024 23:59:12. | |
EditMenu.jsx | File | 2416 bytes | December 03 2024 01:47:48. | |
GenerateImageButtons.jsx | File | 5219 bytes | March 26 2025 18:03:22. | |
Input.jsx | File | 2585 bytes | December 03 2024 01:47:48. | |
InsertMenu.jsx | File | 7333 bytes | June 09 2025 17:02:32. | |
SelectedText.jsx | File | 1725 bytes | December 03 2024 01:47:48. | |
ToolbarMenu.jsx | File | 5120 bytes | December 03 2024 01:47:48. | |
TranslationDropdown.jsx | File | 6275 bytes | January 02 2025 21:15:44. |
import { MenuGroup, MenuItem } from '@wordpress/components'; import { __ } from '@wordpress/i18n'; import { pencil } from '@wordpress/icons'; export const DraftMenu = ({ disabled, setInputText, setReady }) => { const handleClick = (inputText) => { setInputText(inputText); setReady(false); }; const actionsList = [ { label: __('A paragraph …', 'extendify-local'), onClickText: __('Write a paragraph about', 'extendify-local'), }, { label: __('Blog post …', 'extendify-local'), onClickText: __('Write a blog post about', 'extendify-local'), }, { label: __('An informative article …', 'extendify-local'), onClickText: __('Write an informative article about', 'extendify-local'), }, { label: __('Headline …', 'extendify-local'), onClickText: __('Write a headline for', 'extendify-local'), }, { label: __('List …', 'extendify-local'), onClickText: __('Write a list of', 'extendify-local'), }, ]; return ( <MenuGroup> {actionsList.map(({ label, onClickText }) => ( <MenuItem key={label} onClick={() => handleClick(`${onClickText} `)} disabled={disabled} icon={pencil} iconPosition="left"> {label} </MenuItem> ))} </MenuGroup> ); };
SILENT KILLER Tool