-
-
-
-
- string
- float
- int
- boolean
- list
- dict
-
-
- {!isList && (
-
- )}
- {item.type === "list" && item.subType && (
-
- List type:
-
- updateItem(index, { ...item, subType: newSubSchema[0] })
- }
- level={0}
- isList={true}
- />
-
- )}
- {item.type === "dict" && item.subType && (
-
-
- updateItem(index, { ...item, subType: newSubSchema })
+ {!isList && (
+
+ updateItem(index, { ...item, key: e.target.value })
}
- level={level + 1}
+ placeholder="Key"
+ className="w-1/3 min-w-[150px]"
/>
-
- )}
-