onPostComment() {
    const rowData = this.props.rowData

    const types = {
      "Inspiration": "inspiration",
      "Idea": "idea",
      "Event": "event"
    }

    const props = {
      user: this.props.user,
      message: this.state.commentText,
      channel: this.props.rowData.objectId,
      userDisplayName: this.props.user.username,
      userPhoto: this.props.user.photo,
      type: types[this.props.rowData.className],
      isDeleted: false
    }

  }
/**
   * Post a new comment and add a relation to the feed item
   *
   * @return {void}
   */
Post a new comment and add a relation to the feed item
@return {void}
Post a new comment and add a relation to the feed item @return { void }
onPostComment() {
    const rowData = this.props.rowData
    const types = {
      "Inspiration": "inspiration",
      "Idea": "idea",
      "Event": "event"
    }
    const props = {
      user: this.props.user,
      message: this.state.commentText,
      channel: this.props.rowData.objectId,
      userDisplayName: this.props.user.username,
      userPhoto: this.props.user.photo,
      type: types[this.props.rowData.className],
      isDeleted: false
    }
  }
onPostComment ( ) { const rowData = this . props . rowData const types = { "Inspiration" : "inspiration" , "Idea" : "idea" , "Event" : "event" } const props = { user : this . props . user , message : this . state . commentText , channel : this . props . rowData . objectId , userDisplayName : this . props . user . username , userPhoto : this . props . user . photo , type : types [ this . props . rowData . className ] , isDeleted : false } }
Post a new comment and add a relation to the feed item
 @return {void}
Post a new comment and add a relation to the feed item @return { void }