Skip to content

Commit

Permalink
feat(addon/components/paper-card-avatar): migrates to tagless native …
Browse files Browse the repository at this point in the history
…class.
  • Loading branch information
matthewhartstonge committed Oct 17, 2024
1 parent ef00a75 commit 5c51bcc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions addon/components/paper-card-avatar.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<md-card-avatar ...attributes>
{{yield}}
</md-card-avatar>
8 changes: 4 additions & 4 deletions addon/components/paper-card-avatar.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,6 +8,6 @@ import Component from '@ember/component';
* @class PaperCardAvatar
* @extends Ember.Component
*/
export default Component.extend({
tagName: 'md-card-avatar'
});
export default class PaperCardAvatar extends Component {
tagName = '';
}

0 comments on commit 5c51bcc

Please sign in to comment.