Skip to content

Commit

Permalink
update paper-content to "pseudo-octane"
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelcobain committed Feb 7, 2020
1 parent 27b24d4 commit be0ff0d
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 18 deletions.
15 changes: 0 additions & 15 deletions addon/components/paper-content.js

This file was deleted.

16 changes: 16 additions & 0 deletions addon/components/paper-content/component.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/**
* @module ember-paper
*/
import Component from '@ember/component';
import { tagName, layout } from '@ember-decorators/component';
import template from './template';

/**
* @class PaperContent
* @extends Component
*/
@tagName('')
@layout(template)
class PaperContent extends Component {}

export default PaperContent;
6 changes: 6 additions & 0 deletions addon/components/paper-content/template.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<md-content
class="md-default-theme {{if @padding "md-padding"}}"
md-scroll-y={{@scroll-y}}
...attributes>
{{yield}}
</md-content>
4 changes: 1 addition & 3 deletions app/components/paper-content.js
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
import PaperContent from 'ember-paper/components/paper-content';

export default PaperContent;
export { default } from 'ember-paper/components/paper-content/component';

0 comments on commit be0ff0d

Please sign in to comment.