mirror of
https://github.com/flarum/core.git
synced 2025-07-18 07:11:17 +02:00
New and improved post stream.
This commit is contained in:
11
js/forum/src/components/post-loading.js
Normal file
11
js/forum/src/components/post-loading.js
Normal file
@@ -0,0 +1,11 @@
|
||||
import Component from 'flarum/component';
|
||||
import avatar from 'flarum/helpers/avatar';
|
||||
|
||||
export default class PostLoadingComponent extends Component {
|
||||
view() {
|
||||
return m('div.post.comment-post.loading-post.fake-post',
|
||||
m('header.post-header', avatar(), m('div.fake-text')),
|
||||
m('div.post-body', m('div.fake-text'), m('div.fake-text'), m('div.fake-text'))
|
||||
);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user