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