Vulcan/packages/nova-base-components/lib/posts/PostsHome.jsx

12 lines
385 B
React
Raw Normal View History

import { Components, registerComponent } from 'meteor/nova:lib';
import React, { PropTypes, Component } from 'react';
import Posts from "meteor/nova:posts";
2016-06-10 19:19:32 +09:00
const PostsHome = (props, context) => {
const terms = props.location && props.location.query;
return <Components.PostsList terms={terms}/>
};
2016-10-25 16:24:03 +09:00
PostsHome.displayName = "PostsHome";
2016-10-25 16:24:03 +09:00
registerComponent('PostsHome', PostsHome);