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 17, 2024
1 parent 4cdd326 commit 1e5873a
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 1e5873a

Please sign in to comment.