From 5aaed55096b73c33325bca1256e987b117ba3be1 Mon Sep 17 00:00:00 2001 From: vferraro-scottlogic Date: Mon, 11 Sep 2023 17:27:49 +0100 Subject: [PATCH] VUU-31 remove default layout from client --- .../src/examples/Apps/NewTheme.examples.tsx | 57 ------------------- 1 file changed, 57 deletions(-) diff --git a/vuu-ui/showcase/src/examples/Apps/NewTheme.examples.tsx b/vuu-ui/showcase/src/examples/Apps/NewTheme.examples.tsx index 4a152a337..5b13acbdb 100644 --- a/vuu-ui/showcase/src/examples/Apps/NewTheme.examples.tsx +++ b/vuu-ui/showcase/src/examples/Apps/NewTheme.examples.tsx @@ -93,63 +93,6 @@ const ShellWithNewTheme = () => { ]; }, [handleCloseDialog, handleSave]); - //TODO what the App actually receives is an array of layouts - const layout = useMemo(() => { - return { - type: "Stack", - props: { - className: "vuuShell-mainTabs", - TabstripProps: { - allowAddTab: true, - allowRenameTab: true, - animateSelectionThumb: false, - location: "main-tab", - }, - preserve: true, - active: 0, - }, - children: [ - { - type: "Stack", - props: { - active: 0, - title: "My Instruments", - TabstripProps: { - allowRenameTab: true, - allowCloseTab: true, - }, - }, - children: [ - { - type: "View", - props: { - title: "European Stock", - }, - style: { height: "calc(100% - 6px)" }, - children: [ - { - type: "AutoTableNext", - }, - ], - }, - { - type: "View", - props: { - title: "Other Stock", - }, - style: { height: "calc(100% - 6px)" }, - children: [ - { - type: "AutoTableNext", - }, - ], - }, - ], - }, - ], - }; - }, []); - return (