text: import React from 'react';
  //import PropTypes from 'prop-types';
  import _ from 'lodash';
  import PostItem from './PostItem';
  
  export default ({ datasource = {}, orderby = 'date', order='desc' }) => {
      
      const postList = _.map(_.orderBy(datasource,[orderby],[order]),
          (item, id) => {
              const post = { id: id, ...item};
              return(
                  <li key={id} >
                  <PostItem datasource={post} />
              </li>
              );
          });
  
      //console.log(postList);
      return (
          <ul className="uk-comment-list">
              {postList}
          </ul>
      )
  }
  