forked from Gitlink/forgeplus-react
20 lines
589 B
JavaScript
20 lines
589 B
JavaScript
import React from "react";
|
|
import { Button } from "antd";
|
|
import { getImageUrl } from "educoder";
|
|
function reply_click({ user_image, click_button }) {
|
|
const click_reply_to = () =>{
|
|
click_button(true)
|
|
}
|
|
return (
|
|
<div className="new-comment-head grid-item pd20">
|
|
<img src={getImageUrl(user_image)} className="user-image"></img>
|
|
<span className="reply-comment-input mr20">
|
|
<Button className="add_reply_button ml10" onClick={click_reply_to}>
|
|
<span>添加评论...</span>
|
|
</Button>
|
|
</span>
|
|
</div>
|
|
);
|
|
}
|
|
export default reply_click;
|