added custom element and base class

This commit is contained in:
Srinath Narayanan
2020-12-07 02:23:20 -08:00
parent 2dbde9c31a
commit 90fb7e7d8f
9 changed files with 161 additions and 134 deletions

View File

@@ -4,7 +4,7 @@ import { SmartUiComponent, Descriptor, InputType } from "./SmartUiComponent";
describe("SmartUiComponent", () => {
const exampleData: Descriptor = {
onSubmit: async (currentValues: Map<string, InputType>) => {},
onSubmit: async () => {},
root: {
id: "root",
info: {