import { SelectControl, RadioControl } from '@wordpress/components'; const SelectField = ({ field, value, onChange }) => { const options = Object.entries(field.options || {}).map(([key, label]) => ({ label, value: key })); if (field.type === 'radio') { return ( ); } return ( ); }; export default SelectField;