Skip to content

Commit

Permalink
feat(addon/components/paper-card-content): 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 5c51bcc commit b35ed6f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions addon/components/paper-card-content.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<md-card-content>
{{yield}}
</md-card-content>
6 changes: 3 additions & 3 deletions addon/components/paper-card-content.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ import Component from '@ember/component';
* @class PaperCardContent
* @extends Ember.Component
*/
export default Component.extend({
tagName: 'md-card-content'
});
export default class PaperCardContent extends Component {
tagName = '';
}

0 comments on commit b35ed6f

Please sign in to comment.