import React, { ChangeEvent } from "react"; import BaseControl, { ControlProps } from "./BaseControl"; import DynamicAutocompleteInput from "components/editorComponents/DynamicAutocompleteInput"; import { EventOrValueHandler } from "redux-form"; class CodeEditorControl extends BaseControl { render() { const { validationMessage, expected, propertyValue, isValid, dataTreePath, evaluatedValue, } = this.props; return ( ); } onChange: EventOrValueHandler> = ( value: string | ChangeEvent, ) => { this.updateProperty(this.props.propertyName, value); }; static getControlType() { return "CODE_EDITOR"; } } export default CodeEditorControl;