fix(validation-example): add custom nodes with validation

This commit is contained in:
moklick
2020-06-02 00:41:10 +02:00
parent 206cd1ded1
commit eae485704b
2 changed files with 35 additions and 11 deletions
+14 -6
View File
@@ -1,19 +1,27 @@
.validationflow .react-flow__node {
background: #e6e6e9;
border: 1px solid #ddd;
}
.validationflow .react-flow__node-custominput {
width: 150px;
border-radius: 5px;
padding: 10px;
background: #fff;
color: #555;
border: 1px solid #ddd;
text-align: center;
font-size: 12px;
}
.validationflow .react-flow__node-customnode {
background: #e6e6e9;
border: 1px solid #ddd;
}
.react-flow__node-custominput .react-flow__handle {
background: #e6e6e9;
}
.validationflow .react-flow__node-custominput {
background: #fff;
}
.validationflow .connecting {
background: #ff6060;
}