2016-03-30 09:24:52 +09:00
|
|
|
import React from 'react';
|
|
|
|
|
2016-03-30 10:52:40 +09:00
|
|
|
import SmartContainers from "meteor/utilities:react-list-container";
|
|
|
|
const ListContainer = SmartContainers.ListContainer;
|
|
|
|
|
2016-03-24 18:17:35 +09:00
|
|
|
const PostListHeader = () => {
|
|
|
|
|
2016-04-13 08:43:43 +02:00
|
|
|
({PostViews, SearchForm, CategoriesList} = Telescope.components)
|
2016-03-24 18:17:35 +09:00
|
|
|
|
2016-03-25 10:45:28 +09:00
|
|
|
return (
|
2016-04-07 14:17:35 +02:00
|
|
|
<div>
|
|
|
|
<div className="post-list-header">
|
|
|
|
<div className="post-list-categories">
|
|
|
|
<ListContainer collection={Categories} limit={0} resultsPropName="categories" component={CategoriesList}/>
|
|
|
|
</div>
|
|
|
|
<PostViews />
|
|
|
|
<SearchForm/>
|
2016-03-25 10:45:28 +09:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
)
|
2016-03-24 18:17:35 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
module.exports = PostListHeader;
|
|
|
|
export default PostListHeader;
|