aboutsummaryrefslogtreecommitdiff
path: root/javascript/app/templates/components/type-signature.hbs
blob: 249f1b8bf86d6751b552eff06d05b84843adbf00 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
{{!-- No newlines to get rid of spaces between spans --}}
{{#each components as |typeComponent|}}{{#if (eq typeComponent.tag "Text")}}<span class="source-code">{{typeComponent.contents}}</span>{{else}}{{type-component occName=typeComponent.name internalId=typeComponent.internalId identifiers=identifiers currentLineNumber=currentLineNumber}}{{/if}}{{/each}}
{{#unless noExpand}}
    {{#if type.componentsExpanded}}
        <div style="margin-top:5px">
            <button class="btn btn-outline-secondary btn-sm" {{action "toggleExpandTypeSynonyms"}}>{{expandTypeSynonymsLabel}}
            </button>
        </div>
    {{/if}}
{{/unless}}