X7ROOT File Manager
Current Path:
/home/okeydcqc/.trash/wp-content/plugins/extendify/src/Draft/components
home
/
okeydcqc
/
.trash
/
wp-content
/
plugins
/
extendify
/
src
/
Draft
/
components
/
ðŸ“
..
📄
Completion.jsx
(613 B)
📄
ConsentSidebar.jsx
(798 B)
📄
DraftMenu.jsx
(1.22 KB)
📄
DynamicTextarea.jsx
(2.14 KB)
📄
EditMenu.jsx
(2.36 KB)
📄
GenerateImageButtons.jsx
(5.1 KB)
📄
Input.jsx
(2.52 KB)
📄
InsertMenu.jsx
(7.16 KB)
📄
SelectedText.jsx
(1.68 KB)
📄
ToolbarMenu.jsx
(5 KB)
📄
TranslationDropdown.jsx
(6.13 KB)
ðŸ“
image-generation
ðŸ“
stock-images
Editing: ConsentSidebar.jsx
import { Panel } from '@wordpress/components'; import { __ } from '@wordpress/i18n'; import { useAIConsentStore } from '@shared/state/ai-consent'; export const ConsentSidebar = () => { const { consentTermsHTML, setUserGaveConsent } = useAIConsentStore(); return ( <Panel> <div className="p-4"> <h2 className="mb-2 mt-0 text-lg"> {__('Terms of Use', 'extendify-local')} </h2> <p className="m-0" dangerouslySetInnerHTML={{ __html: consentTermsHTML }} /> <button className="mt-4 w-full cursor-pointer rounded border-0 bg-wp-theme-main px-4 py-2 text-center text-white" type="button" onClick={() => setUserGaveConsent(true)} data-test="draft-terms-button"> {__('Accept', 'extendify-local')} </button> </div> </Panel> ); };
Upload File
Create Folder