?? GreyFile — Mystic File Browser

Current path: home/webdevt/www/demo2/wp-content/themes/blocksy/static/js/options/options/



?? Go up: /home/webdevt/www/demo2/wp-content/themes/blocksy/static/js/options

?? Viewing: ct-radio.js

import { createElement } from '@wordpress/element'

import BlocksyRadio from './ct-radio/BlocksyRadio'
import GutenbergRadio from './ct-radio/GutenbergRadio'

const Radio = (props) => {
	const { purpose } = props

	if (purpose === 'gutenberg') {
		return <GutenbergRadio {...props} />
	}

	return <BlocksyRadio {...props} />
}

Radio.supportedPurposes = ['default', 'gutenberg']

export default Radio


??

??