feat: Implement Text control and update Topology (#37)

This commit is contained in:
Fine0830
2022-03-25 15:51:06 +08:00
committed by GitHub
parent 4380a874de
commit 99e23c33dc
20 changed files with 454 additions and 74 deletions

View File

@@ -22,10 +22,17 @@ export const NewControl = {
i: "0",
type: "Widget",
widget: {
title: "Title",
title: "",
},
graph: {},
standard: {},
metrics: [""],
metricTypes: [""],
};
export const TextConfig = {
fontColor: "white",
backgroundColor: "green",
content: "Text",
fontSize: 14,
textAlign: "left",
};