Skip to content

Commit

Permalink
feat(addon/components/paper-card-header-subhead): migrates to tagless…
Browse files Browse the repository at this point in the history
… native class.
  • Loading branch information
matthewhartstonge committed Oct 29, 2024
1 parent a7c0763 commit 41b4064
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
3 changes: 3 additions & 0 deletions addon/components/paper-card-header-subhead.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<span class="md-subhead" ...attributes>
{{yield}}
</span>
9 changes: 4 additions & 5 deletions addon/components/paper-card-header-subhead.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, prettier/prettier */
/* eslint-disable ember/no-classic-components */
/**
* @module ember-paper
*/
Expand All @@ -8,7 +8,6 @@ import Component from '@ember/component';
* @class PaperCardHeaderSubhead
* @extends Ember.Component
*/
export default Component.extend({
tagName: 'span',
classNames: ['md-subhead']
});
export default class PaperCardHeaderSubhead extends Component {
tagName = '';
}

0 comments on commit 41b4064

Please sign in to comment.