Commit before pull
This commit is contained in:
parent
adfec3b85d
commit
cb72266c81
|
@ -45,8 +45,6 @@
|
|||
}
|
||||
setContext("BBMD:list:context", "menu")
|
||||
})
|
||||
|
||||
$: menu && _bb.attachChildren(menu)
|
||||
</script>
|
||||
|
||||
{#if useFixedPosition || useAbsolutePosition}
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
CustomersIndexTable,
|
||||
List,
|
||||
Icon,
|
||||
Menu,
|
||||
} = props
|
||||
|
||||
let currentComponent
|
||||
|
@ -40,6 +41,7 @@
|
|||
Datatable,
|
||||
CustomersIndexTable,
|
||||
List,
|
||||
Menu,
|
||||
],
|
||||
},
|
||||
}
|
||||
|
|
|
@ -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,
|
||||
},
|
||||
],
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue