42 |
43 |
53 | }
57 | color="#000000"
58 | backgroundColor="#EEF2F6"
59 | _hover={{ backgroundColor: '#db4437', color: '#FBFFFF' }}
60 | size="sm"
61 | onClick={handleDelete}
62 | style={{ marginLeft: '5px' }}
63 | />
64 |
65 |
66 | {type === 'array' && }
67 | {type === 'branch' && }
68 | {type === 'merge' && (
69 |
73 | )}
74 |
75 |
76 | >
77 | );
78 | };
79 |
80 | export default VariableInputElementCustom;
81 |
--------------------------------------------------------------------------------
/sandbox/components/VariablesRenderer.tsx:
--------------------------------------------------------------------------------
1 | import React, { FC, useContext } from 'react';
2 | import { Store } from '../utils/store';
3 | import { variableSerializer } from '../utils/variables';
4 | import Pre from './core/Pre';
5 |
6 | interface IProps {}
7 |
8 | const VariablesRenderer: FC