Skip to content

Commit

Permalink
refactor: change to jsx functions for editor
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Jul 11, 2022
1 parent e0b468c commit 02fdbb8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Expand Up @@ -2,6 +2,7 @@ import * as React from "react";
import { DiagramEngine, PortWidget } from "@projectstorm/react-diagrams-core";
import { ConceptNodeModel } from "./ConceptNodeModel";
import styled from "styled-components";
import Editor from "./Editor";

export interface ConceptNodeWidgetProps {
node: ConceptNodeModel;
Expand Down Expand Up @@ -57,6 +58,7 @@ export class ConceptNodeWidget extends React.Component<ConceptNodeWidgetProps,
</StyledPorts>

<StyledNodeColor>
<Editor />
<StyleInputBox
value={ this.state.value }
onChange={ (event) => {
Expand Down
7 changes: 7 additions & 0 deletions quake_webapp/quake-board/src/components/concept/Editor.tsx
@@ -0,0 +1,7 @@
import * as React from "react";

const Editor = () => {
return <div>Editor</div>;
}

export default Editor;

0 comments on commit 02fdbb8

Please sign in to comment.