import React, { Component } from "react"; // import PropTypes from 'prop-type'; import { Icon } from "antd"; import Comment from "../../Comment"; import CommentInput from "../CommentInput"; import "./index.css"; class ReplyItem extends Component { constructor(props) { super(props); this.state = { showInput: false }; this.handleToggleInput = this.handleToggleInput.bind(this); } handleToggleInput() { this.setState({ showInput: !this.state.showInput }); } render() { const { commentId, replyItem, replyId, action, app } = this.props; const { showInput } = this.state; return (