File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
src/workflow-editor/nodes Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import { CloseButton } from "./CloseButton";
5
5
import { INodeMaterial } from "../interfaces/material" ;
6
6
import { useEditorEngine } from "../hooks" ;
7
7
8
- export const NodeTitleSchell = styled . div `
8
+ export const NodeTitleShell = styled . div `
9
9
position: relative;
10
10
display: flex;
11
11
align-items: center;
@@ -101,7 +101,7 @@ export const NodeTitle = memo((props: {
101
101
setInputValue ( e . target . value )
102
102
} , [ ] )
103
103
104
- return < NodeTitleSchell className = "node-title" style = { { backgroundColor : material ?. color , color : "#fff" } } >
104
+ return < NodeTitleShell className = "node-title" style = { { backgroundColor : material ?. color , color : "#fff" } } >
105
105
< NodeIcon >
106
106
{ material ?. icon }
107
107
</ NodeIcon >
@@ -123,5 +123,5 @@ export const NodeTitle = memo((props: {
123
123
onChange = { handleChange }
124
124
/>
125
125
}
126
- </ NodeTitleSchell >
126
+ </ NodeTitleShell >
127
127
} )
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import { ChildNode } from "./ChildNode"
7
7
import { NodeWrap , NodeWrapBox , NodeContent } from "./NormalNode"
8
8
import { EndNode } from "./EndNode"
9
9
import { useEditorEngine } from "../hooks"
10
- import { NodeTitleSchell } from "./NodeTitle"
10
+ import { NodeTitleShell } from "./NodeTitle"
11
11
import { useNodeMaterial } from "../hooks/useNodeMaterial"
12
12
import { useMaterialUI } from "../hooks/useMaterialUI"
13
13
import { ErrorTip } from "./ErrorTip"
@@ -25,9 +25,9 @@ export const StartNode = memo(() => {
25
25
return (
26
26
< NodeWrap className = "node-wrap start" >
27
27
< NodeWrapBox className = "node-wrap-box" onClick = { handleClick } >
28
- < NodeTitleSchell className = "node-title start-node-title" style = { { backgroundColor : material ?. color } } >
28
+ < NodeTitleShell className = "node-title start-node-title" style = { { backgroundColor : material ?. color } } >
29
29
{ t ( material ?. label || "" ) }
30
- </ NodeTitleSchell >
30
+ </ NodeTitleShell >
31
31
< NodeContent className = "content" >
32
32
{ materialUi ?. viewContent && materialUi ?. viewContent ( startNode , { t } ) }
33
33
< RightOutlined className = "arrow" />
You can’t perform that action at this time.
0 commit comments