{{#if (eq this.state 'success')}}
{{x-icon 'copy-success'}} {{yield}}
{{else if (eq this.state 'error')}}
{{x-icon 'alert-triangle'}} {{yield}}
{{else}} {{x-icon 'copy-action'}} {{yield}} {{/if}}