From e2165c62bfa4be452cb645fd204076ae4f300fd4 Mon Sep 17 00:00:00 2001 From: Matthew Hartstonge Date: Thu, 17 Oct 2024 12:51:25 +1300 Subject: [PATCH] feat(addon/components/paper-card-avatar): migrates to tagless native class. --- addon/components/paper-card-avatar.hbs | 3 +++ addon/components/paper-card-avatar.js | 8 ++++---- 2 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 addon/components/paper-card-avatar.hbs diff --git a/addon/components/paper-card-avatar.hbs b/addon/components/paper-card-avatar.hbs new file mode 100644 index 000000000..6f80fc8b4 --- /dev/null +++ b/addon/components/paper-card-avatar.hbs @@ -0,0 +1,3 @@ + + {{yield}} + \ No newline at end of file diff --git a/addon/components/paper-card-avatar.js b/addon/components/paper-card-avatar.js index eac64760f..6c097799c 100644 --- a/addon/components/paper-card-avatar.js +++ b/addon/components/paper-card-avatar.js @@ -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 */ @@ -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 = ''; +}