diff --git a/addon/components/paper-card-image.hbs b/addon/components/paper-card-image.hbs new file mode 100644 index 000000000..efff4898d --- /dev/null +++ b/addon/components/paper-card-image.hbs @@ -0,0 +1 @@ +{{@alt}} \ No newline at end of file diff --git a/addon/components/paper-card-image.js b/addon/components/paper-card-image.js index db3d68b55..4a0a10536 100644 --- a/addon/components/paper-card-image.js +++ b/addon/components/paper-card-image.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,8 +8,6 @@ import Component from '@ember/component'; * @class PaperCardImage * @extends Ember.Component */ -export default Component.extend({ - tagName: 'img', - classNames: ['md-card-image'], - attributeBindings: ['src', 'title', 'alt'] -}); +export default class PaperCardImage extends Component { + tagName = ''; +}