working version

This commit is contained in:
Srinath Narayanan
2020-11-23 17:46:59 -08:00
parent 84017660c1
commit 88d71d7070
5 changed files with 143 additions and 49 deletions

View File

@@ -13,8 +13,8 @@ describe("SmartUiComponent", () => {
text: "More Details"
}
},
children: [
{
children: {
"throughput": {
id: "throughput",
input: {
label: "Throughput (input)",
@@ -27,7 +27,7 @@ describe("SmartUiComponent", () => {
inputType: "spin"
}
},
{
"throughput2": {
id: "throughput2",
input: {
label: "Throughput (Slider)",
@@ -40,7 +40,7 @@ describe("SmartUiComponent", () => {
inputType: "slider"
}
},
{
"containerId": {
id: "containerId",
input: {
label: "Container id",
@@ -48,7 +48,7 @@ describe("SmartUiComponent", () => {
type: "string"
}
},
{
"analyticalStore": {
id: "analyticalStore",
input: {
label: "Analytical Store",
@@ -59,7 +59,7 @@ describe("SmartUiComponent", () => {
type: "boolean"
}
},
{
"database": {
id: "database",
input: {
label: "Database",
@@ -73,8 +73,8 @@ describe("SmartUiComponent", () => {
defaultKey: "db2"
}
}
]
}
}
};
const exampleCallbacks = (newValues: Map<string, InputType>): void => {