🔐 Sid Gifari File Manager Pro
v8.0.5 | 2026-08-06 21:53:09 | PHP 8.2.32
📂
/ (Root)
/
home
/
eliteewa
/
public_html
/
wp-content
/
plugins
/
easy-accordion-free
/
src
/
components
/
bgButtons
📍 /home/eliteewa/public_html/wp-content/plugins/easy-accordion-free/src/components/bgButtons
🔄 Refresh
✏️
Editing: index.js
Writable
const BgButtons = ({ attributes, attributesKey, setAttributes, label, items, onClick = false }) => { const setBgType = (newValue) => { if (onClick) { onClick(newValue); } else { setAttributes({ [attributesKey]: newValue }); } }; return ( <div className="sp-eab-background sp-eab-component-mb"> <div className="sp-eab-background-control sp-d-flex sp-justify-between sp-align-center"> <span className="sp-eab-component-title">{label}</span> <div className="sp-eab-background-left sp-d-flex sp-align-center sp-gap-4px"> {items?.map((option) => ( <button key={option.value} type="button" className={`sp-bg-indicator ${attributes === option.value ? "active" : ""}`} onClick={() => setBgType(option.value)} > {option.label} </button> ))} </div> </div> </div> ); }; export default BgButtons;
💾 Save Changes
❌ Cancel