import React from 'react' import { __ } from '@wordpress/i18n' import classnames from 'classnames' import type { DemoField, DemoRepeater, DemoSection } from './types' /** * Every control is presented in its native form but held read-only — the * walkthrough supplies the values, so nothing here accepts input. */ const ReadOnlyControl: React.FC<{ field: DemoField, id: string }> = ({ field, id }) => { switch (field.type) { case 'textarea': return