Files
talk/client/coral-plugin-replies/ReplyBox.js
T
David Jay 8f48f62b02 Replacing 'item_id' with 'id' and removing appendRelatedArray
It now makes sense to have a generic appendItemArray function
2016-11-02 15:38:49 -07:00

22 lines
607 B
JavaScript

import React from 'react'
import CommentBox from '../coral-plugin-commentbox/CommentBox'
const name = 'coral-plugin-replies'
const ReplyBox = (props) => <div
className={name + '-textarea'}
style={props.styles && props.styles.container}>
{
props.showReply && <CommentBox
item_id = {props.item_id}
postItem = {props.postItem}
addNotification = {props.addNotification}
appendItemArray = {props.appendItemArray}
updateItem = {props.updateItem}
comments = {props.child}
reply = {true}/>
}
</div>
export default ReplyBox