From 7f7ebdd0b19721fd5839365b43e5476c294900cf Mon Sep 17 00:00:00 2001 From: kevmodrome Date: Thu, 16 Apr 2020 12:47:56 +0200 Subject: [PATCH] adds temp structure for panel and components --- .../temporaryPanelStructure.json | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 packages/builder/src/components/userInterface/temporaryPanelStructure.json diff --git a/packages/builder/src/components/userInterface/temporaryPanelStructure.json b/packages/builder/src/components/userInterface/temporaryPanelStructure.json new file mode 100644 index 0000000000..3301ecae22 --- /dev/null +++ b/packages/builder/src/components/userInterface/temporaryPanelStructure.json @@ -0,0 +1,43 @@ +{ + "categories": [ + { + "name": "Basic", + "components": [ + { + "component": "Text", + "icon": "Text", + "commonProps": { + //common for all components + //Will include layout props + }, + "type": [ + { + "_component": "@budibase/standard-components/header", + "name": "Headline", + "icon": "headline", + "props": { + //props for headline + "type": { + "type": "options", + "options": [ + "h1", + "h2" + ], + "default": "h1" + } + } + }, + { + "_component": "@budibase/standard-components/text", + "name": "Paragraph", + "icon": "paragraph", + "props": { + //props for paragraph + } + } + ] + } + ] + } + ] +} \ No newline at end of file