mirror of https://github.com/status-im/consul.git
30 lines
611 B
Handlebars
30 lines
611 B
Handlebars
{{!
|
|
Copyright (c) HashiCorp, Inc.
|
|
SPDX-License-Identifier: BUSL-1.1
|
|
}}
|
|
|
|
<div
|
|
class={{class-map
|
|
"disclosure-menu"
|
|
}}
|
|
...attributes
|
|
>
|
|
<Disclosure
|
|
@expanded={{@expanded}}
|
|
as |disclosure|>
|
|
{{yield (hash
|
|
Action=(component 'disclosure-menu/action' disclosure=disclosure)
|
|
Menu=(component 'disclosure-menu/menu'
|
|
disclosure=disclosure
|
|
items=@items
|
|
rowHeight=@rowHeight
|
|
)
|
|
disclosure=disclosure
|
|
toggle=disclosure.toggle
|
|
close=disclosure.close
|
|
open=disclosure.open
|
|
expanded=disclosure.expanded
|
|
)}}
|
|
</Disclosure>
|
|
</div>
|