--- order: 3 title: zh-CN: 回复框 en-US: Reply Editor --- ## zh-CN 评论编辑器组件提供了相同样式的封装以支持自定义评论编辑器。 ## en-US Comment can be used as an editor, so the user can customize the contents of the component. ```jsx import { Comment, Avatar, Form, Button, List, Input } from 'antd'; import moment from 'moment'; const { TextArea } = Input; const CommentList = ({ comments }) => ( 1 ? 'replies' : 'reply'}`} itemLayout="horizontal" renderItem={props => } /> ); const Editor = ({ onChange, onSubmit, submitting, value }) => ( <>