From e647e8e7d0a28de5dec1be39e2968f99ee03f014 Mon Sep 17 00:00:00 2001 From: Matthew Hartstonge Date: Thu, 17 Oct 2024 14:02:43 +1300 Subject: [PATCH] feat(addon/components/paper-card-icon-actions): migrates to tagless native class. --- addon/components/paper-card-icon-actions.hbs | 3 +++ addon/components/paper-card-icon-actions.js | 8 ++++---- 2 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 addon/components/paper-card-icon-actions.hbs diff --git a/addon/components/paper-card-icon-actions.hbs b/addon/components/paper-card-icon-actions.hbs new file mode 100644 index 000000000..ff85d236c --- /dev/null +++ b/addon/components/paper-card-icon-actions.hbs @@ -0,0 +1,3 @@ + + {{yield}} + \ No newline at end of file diff --git a/addon/components/paper-card-icon-actions.js b/addon/components/paper-card-icon-actions.js index e466efbcb..942a9bddd 100644 --- a/addon/components/paper-card-icon-actions.js +++ b/addon/components/paper-card-icon-actions.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 PaperCardIconActions * @extends Ember.Component */ -export default Component.extend({ - tagName: 'md-card-icon-actions' -}); +export default class PaperCardIconActions extends Component { + tagName = ''; +}