mirror of
https://github.com/wassname/talk.git
synced 2026-07-02 02:43:46 +08:00
18 lines
417 B
JavaScript
18 lines
417 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
|
|
{...props}
|
|
comments = {props.child}
|
|
reply = {true}/>
|
|
}
|
|
</div>;
|
|
|
|
export default ReplyBox;
|