// Copyright (c) 2015 Mattermost, Inc. All Rights Reserved. // See License.txt for license information. import PostAttachment from './post_attachment.jsx'; export default class PostAttachmentList extends React.Component { constructor(props) { super(props); } render() { let content = []; this.props.attachments.forEach((attachment, i) => { content.push( ); }); return (
{content}
); } } PostAttachmentList.propTypes = { attachments: React.PropTypes.array.isRequired };