PATH:
home
/
urbaoubp
/
gns.pitgradnja.com
/
wp-content
/
plugins
/
complianz-gdpr
/
settings
/
src
/
Settings
import Icon from "../utils/Icon"; import {useEffect, useState} from "@wordpress/element"; const Panel = (props) => { const [isOpen, setIsOpen] = useState(false); // State to track the open state of details const handleOpen = (e) => { e.preventDefault(); setIsOpen(!isOpen); }; return ( <div className="cmplz-panel__list__item" style={props.style ? props.style : {}}> <details open={isOpen} > <summary onClick={(e) => handleOpen(e)}> {props.icon && <Icon name={props.icon} />} <h5 className="cmplz-panel__list__item__title">{props.summary}</h5> <div className="cmplz-panel__list__item__comment">{props.comment}</div> <div className="cmplz-panel__list__item__icons">{props.icons}</div> <Icon name={'chevron-down'} size={18} /> </summary> <div className="cmplz-panel__list__item__details"> {isOpen && props.details} </div> </details> </div> ); } export default Panel
[+]
ColorPicker
[-] PluginsOverviewControl.js
[edit]
[+]
Processors
[+]
Fields
[-] BorderRadiusControl.js
[edit]
[+]
WebSiteScan
[+]
ProcessingAgreements
[-] Panel.js
[edit]
[+]
PlaceholderPreview
[+]
SecurityMeasures
[+]
ThirdParties
[+]
CookieBannerPreview
[+]
Cookiedatabase
[+]
DataBreachReports
[-] ChangeStatus.js
[edit]
[-] ButtonControl.js
[edit]
[-] BorderWidthControl.js
[edit]
[+]
CreateDocuments
[-] Password.js
[edit]
[+]
Support
[+]
Multisite
[+]
CookieScan
[+]
ProofOfConsent
[-] Settings.js
[edit]
[-] Help.js
[edit]
[+]
..
[-] DocumentControl.js
[edit]
[-] SettingsGroup.js
[edit]
[+]
DocumentsMenu
[+]
Debug
[+]
Integrations
[+]
PluginsPrivacyStatements
[+]
RecordsOfConsent
[+]
Inputs
[-] CheckboxControl.js
[edit]
[+]
DataRequests
[+]
InstallPlugin
[+]
Editor
[+]
Export
[-] Support.js
[edit]
[-] AreYouSureModal.js
[edit]
[-] Premium.js
[edit]
[+]
License
[+]
Finish