Skip to content

Commit

Permalink
feat(addon/components/paper-card-header-headline): migrates to tagles…
Browse files Browse the repository at this point in the history
…s native class.
  • Loading branch information
matthewhartstonge committed Oct 17, 2024
1 parent 84d6861 commit 4cdd326
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-headline.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<span class="md-headline" ...attributes>
{{yield}}
</span>
9 changes: 4 additions & 5 deletions addon/components/paper-card-header-headline.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 PaperCardHeaderHeadline
* @extends Ember.Component
*/
export default Component.extend({
tagName: 'span',
classNames: ['md-headline']
});
export default class PaperCardHeaderHeadline extends Component {
tagName = '';
}

0 comments on commit 4cdd326

Please sign in to comment.