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