(type: PartType)
| 14 | const WHITE = "#EDF2F7"; |
| 15 | |
| 16 | const getClassnameFromPartType = (type: PartType): string => { |
| 17 | if (type === PartType.Static) { |
| 18 | return classes.static; |
| 19 | } |
| 20 | return ""; |
| 21 | }; |
| 22 | |
| 23 | const ControlDynamic = () => { |
| 24 | const { endpoints, parameterise } = useContext(Context); |