Skip to content

Commit

Permalink
feat(addon/components/paper-card-title-text): migrates to tagless nat…
Browse files Browse the repository at this point in the history
…ive class.
  • Loading branch information
matthewhartstonge committed Oct 29, 2024
1 parent 8382a54 commit 1dc3f7c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
10 changes: 6 additions & 4 deletions addon/components/paper-card-title-text.hbs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{{yield (hash
headline=(component "paper-card-header-headline")
subhead=(component "paper-card-header-subhead")
)}}
<md-card-title-text ...attributes>
{{yield (hash
headline=(component "paper-card-header-headline")
subhead=(component "paper-card-header-subhead")
)}}
</md-card-title-text>
8 changes: 4 additions & 4 deletions addon/components/paper-card-title-text.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* eslint-disable ember/no-classic-components, ember/require-tagless-components */
/* eslint-disable ember/no-classic-components */
/**
* @module ember-paper
*/
Expand All @@ -8,6 +8,6 @@ import Component from '@ember/component';
* @class PaperCardTitleText
* @extends Ember.Component
*/
export default Component.extend({
tagName: 'md-card-title-text',
});
export default class PaperCardTitleText extends Component {
tagName = '';
}

0 comments on commit 1dc3f7c

Please sign in to comment.