mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 04:26:41 -04:00
24 lines
No EOL
645 B
JavaScript
24 lines
No EOL
645 B
JavaScript
import React from 'react';
|
|
|
|
import SmartContainers from "meteor/utilities:react-list-container";
|
|
const ListContainer = SmartContainers.ListContainer;
|
|
|
|
const PostsListHeader = () => {
|
|
|
|
({PostsViews, SearchForm, CategoriesList} = Telescope.components)
|
|
|
|
return (
|
|
<div>
|
|
<div className="posts-list-header">
|
|
<div className="posts-lists-header-categories">
|
|
<ListContainer collection={Categories} limit={0} resultsPropName="categories" component={CategoriesList}/>
|
|
</div>
|
|
<PostsViews />
|
|
<SearchForm/>
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|
|
|
|
module.exports = PostsListHeader;
|
|
export default PostsListHeader; |