v1.0
-- full integration with mol-edit backend -- added readme -- added vqe local_computational
This commit is contained in:
@@ -4,6 +4,7 @@ import { useEffect, useRef } from "react";
|
||||
interface TextAreaProps {
|
||||
text: string;
|
||||
onTextChange: (text: string) => void;
|
||||
enabled: boolean;
|
||||
}
|
||||
|
||||
export function CodeTextArea(props: TextAreaProps) {
|
||||
@@ -52,6 +53,7 @@ export function CodeTextArea(props: TextAreaProps) {
|
||||
className="MoleculeEdit"
|
||||
value={props.text}
|
||||
ref={inputRef}
|
||||
disabled={!props.enabled}
|
||||
onChange={(e) => {
|
||||
props.onTextChange(e.currentTarget.value);
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user