🔐 Sid Gifari File Manager Pro
v8.0.5 | 2026-08-07 18:16:55 | PHP 8.2.32
📂
/ (Root)
/
home
/
eliteewa
/
public_html
/
wp-content
/
themes
/
blocksy
/
static
/
js
/
options
📍 /home/eliteewa/public_html/wp-content/themes/blocksy/static/js/options
🔄 Refresh
✏️
Editing: GenericContainerType.js
Writable
import { createElement, Fragment } from '@wordpress/element' import Condition from './containers/Condition' import Tabs from './containers/Tabs' import Group from './containers/Group' import LabeledGroup from './containers/LabeledGroup' import HasMetaCategoryButton from './containers/ct-has-meta-category-button' import Accordion from './containers/Accordion' import MigrateValues from './containers/MigrateValues' const GenericContainerType = ({ value, renderingChunk, onChange, onChangeMultiple, parentValue, purpose, hasRevertButton, }) => { let Container = null if (renderingChunk[0].type === 'ct-has-meta-category-button') { Container = HasMetaCategoryButton } if (renderingChunk[0].type === 'ct-condition') { Container = Condition } if (renderingChunk[0].type === 'tab') { Container = Tabs } if (renderingChunk[0].type === 'accordion') { Container = Accordion } if (renderingChunk[0].type === 'ct-group') { Container = Group } if (renderingChunk[0].type === 'ct-labeled-group') { Container = LabeledGroup } if (renderingChunk[0].type === 'ct-migrate-values') { Container = MigrateValues } if (Container) { return ( <Container purpose={purpose} onChange={onChange} onChangeMultiple={onChangeMultiple} value={value} renderingChunk={renderingChunk} hasRevertButton={hasRevertButton} parentValue={parentValue} /> ) } return <div>Unknown container type.</div> } export default GenericContainerType
💾 Save Changes
❌ Cancel