text: import React from 'react';
  import PropTypes from 'prop-types';
  import PostExpandContract from '../postActions/PostExpandContract';
  import PostMeta from './PostMeta';
  import PostVote from '../postActions/PostVote';
  import PostSave from '../postActions/PostSave';
  
  const PostHeaderComment = ({ expand, toggleView }) => (
    <header className="d-flex">
      <div className="mr-2 post-action-expand">
        <PostExpandContract expand={expand} toggleView={toggleView} kind="t1" />
      </div>
      <div className="mr-auto comment-meta meta">
        <PostMeta />
      </div>
      <div className="text-nowrap align-middle d-flex actions">
        <PostVote />
        <PostSave />
      </div>
    </header>
  );
  
  PostHeaderComment.propTypes = {
    toggleView: PropTypes.func.isRequired,
    expand: PropTypes.bool.isRequired,
  };
  
  export default React.memo(PostHeaderComment);
  