import computed from 'ember-computed';
import Component from 'ember-component';

let TSection = Component.extend({
  tagName: 'span',
  isRendered: computed('name', {
    get() {
      return this.get('name') === this.get('invocationName');
    }
  })
});

TSection.reopenClass({
  positionalParams: ['invocationName']
});

export default TSection;
