{ "root": "Page", "widgets": { "Button": { "allow_extra_props": false, "children": { "kind": "none" }, "description": "a button", "name": "Button", "positional": [ "label", "action", "primary" ], "props": { "action": { "required": false, "ty": "action" }, "label": { "required": true, "ty": "text" }, "primary": { "required": false, "ty": "bool" } } }, "Card": { "allow_extra_props": false, "children": { "kind": "any" }, "description": "a titled container", "name": "Card", "positional": [ "title", "children", "subtitle" ], "props": { "subtitle": { "required": false, "ty": "text" }, "title": { "required": true, "ty": "text" } } }, "Chart": { "allow_extra_props": false, "children": { "kind": "none" }, "description": "a chart of values", "name": "Chart", "positional": [ "labels", "values", "options" ], "props": { "labels": { "required": true, "ty": "list" }, "options": { "required": false, "ty": "object" }, "values": { "required": true, "ty": "list" } } }, "Note": { "allow_extra_props": false, "children": { "kind": "any" }, "description": "a note", "name": "Note", "positional": [ "author", "body", "children" ], "props": { "author": { "required": false, "ty": "text" }, "body": { "required": true, "ty": "text" } } }, "Page": { "allow_extra_props": false, "children": { "kind": "any" }, "description": "the page", "name": "Page", "positional": [ "children", "title" ], "props": { "title": { "required": false, "ty": "text" } } }, "Tab": { "allow_extra_props": false, "children": { "kind": "any" }, "description": "one tab", "name": "Tab", "positional": [ "title", "children" ], "props": { "title": { "required": true, "ty": "text" } } }, "Tabs": { "allow_extra_props": false, "children": { "kind": "only_of", "value": [ "Tab" ] }, "description": "a strip of tabs", "name": "Tabs", "positional": [ "children" ], "props": {} }, "Text": { "allow_extra_props": false, "children": { "kind": "none" }, "description": "a run of text", "name": "Text", "positional": [ "text", "size" ], "props": { "size": { "required": false, "ty": "number" }, "text": { "required": true, "ty": "text" } } } } }