File manager - Edit - /home/palg2351/public_html/wp-content/themes/blocksy/static/js/options/options/ct-switch.js
Back
import { createElement, Component } from '@wordpress/element' import classnames from 'classnames' import BlocksySwitch from './ct-switch/BlocksySwitch' import GutenbergSwitch from './ct-switch/GutenbergSwitch' const Switch = (props) => { const { purpose } = props if (purpose === 'gutenberg') { return <GutenbergSwitch {...props} /> } return <BlocksySwitch {...props} /> } Switch.renderingConfig = { design: 'inline', } Switch.supportedPurposes = ['default', 'gutenberg'] export default Switch
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0.1 |
proxy
|
phpinfo
|
Settings