{{#let (hash toggle=(fn dispatch 'TOGGLE') close=(fn dispatch 'FALSE') open=(fn dispatch 'TRUE') expanded=(state-matches state 'true') event=state.context button=(unique-id) panel=(unique-id) ) as |_api|}} {{#let (assign _api (hash Action=(component 'disclosure/action' disclosure=_api) )) as |api|}}
{{yield api to="button"}} {{yield api to="panel"}}
{{/let}} {{/let}}