in src/core/Composer.tsx [25:47]
render() {
const { executeStatement } = this.props;
const executeCode = {
name: "executeCode",
bindKey: { win: "Ctrl-E", mac: "Command-E" },
exec: executeStatement,
readOnly: true,
};
return (
<AceEditor
name={"aceEditor1"}
mode={"text"} // Just to initialize.. Once loaded it will be updated to PartiQL
theme={"textmate"}
style={COMPOSER_STYLE}
commands={[executeCode]}
enableBasicAutocompletion={true}
enableLiveAutocompletion={true}
enableSnippets={true}
/>
);
}