Skip to content

Commit

Permalink
VUU-31 remove default layout from client
Browse files Browse the repository at this point in the history
  • Loading branch information
vferraro-scottlogic committed Sep 11, 2023
1 parent a4ddbeb commit 5aaed55
Showing 1 changed file with 0 additions and 57 deletions.
57 changes: 0 additions & 57 deletions vuu-ui/showcase/src/examples/Apps/NewTheme.examples.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
<ContextMenuProvider
menuActionHandler={handleMenuAction}
Expand Down

0 comments on commit 5aaed55

Please sign in to comment.