1
0
Fork 0
mirror of synced 2024-07-05 06:20:55 +12:00

Commit before pull

This commit is contained in:
Conor_Mack 2020-03-02 11:40:16 +00:00
parent adfec3b85d
commit cb72266c81
4 changed files with 26 additions and 2 deletions

View file

@ -45,8 +45,6 @@
}
setContext("BBMD:list:context", "menu")
})
$: menu && _bb.attachChildren(menu)
</script>
{#if useFixedPosition || useAbsolutePosition}

View file

@ -16,6 +16,7 @@
CustomersIndexTable,
List,
Icon,
Menu,
} = props
let currentComponent
@ -40,6 +41,7 @@
Datatable,
CustomersIndexTable,
List,
Menu,
],
},
}

View file

@ -152,4 +152,27 @@ export const props = {
singleSelection: true,
onSelect: selected => console.log(selected),
},
Menu: {
_component: "@budibase/materialdesign-components/Menu",
_children: [
{
_component: "@budibase/materialdesign-components/ListItem",
_children: [],
text: "Settings",
value: 0,
},
{
_component: "@budibase/materialdesign-components/ListItem",
_children: [],
text: "Account",
value: 1,
},
{
_component: "@budibase/materialdesign-components/ListItem",
_children: [],
text: "Profile",
value: 2,
},
],
}
}

View file

@ -17,3 +17,4 @@ export {
export { default as indexDatatable } from "./Templates/indexDatatable"
export { default as recordForm } from "./Templates/recordForm"
export { List, ListItem } from "./List"
export {Menu} from "./Menu"