1.2.0 • Published 6 years ago

@rivigo-ui-commons/chat-widget v1.2.0

Weekly downloads
1
License
ISC
Repository
-
Last release
6 years ago

Chat Widget -

<ChatWidget chatId={chatId} commentHistory={this.state.commentHistory} documentData={this.state.documentData} loadingCommentHistory={this.state.loadingCommentHistory} uploadingDocument={this.state.uploadingDocument} onAddComment={(ticketId, comment) => this.addComment(ticketId, comment)} onUploadFiles={(event, ticketid) => this.uploadFiles(event, ticketid)} onCommentChange={(comment) => this.handleCommentChange(comment)} />

Properties -

  • chatId - unique id of chat widget
  • commentHistory - {type: 'Comment', timestamp, message, name: (initials to be shown ), title, contactNumber, department}
  •              {type: 'Document', timestamp, url, documentName, name: (initials to be shown ), title, contactNumber, department}
  • documentData - {lastUpdatedTimestamp, documentName, url, userDetail: {name}}
  • loadingCommentHistory - boolean
  • uploadingDocument - boolean
  • onAddComment - function(chatId, comment)
  • onUploadFiles - function(event, chatId)
  • onCommentChange - function(comment)

    picture

1.2.0

6 years ago

2.0.0

6 years ago

1.1.537

6 years ago

1.1.533

7 years ago

1.1.524

7 years ago

1.1.515

7 years ago

1.1.510

7 years ago

1.1.507

7 years ago

1.1.506

7 years ago

1.1.505

7 years ago

1.1.504

7 years ago

1.1.168

7 years ago

1.1.56

7 years ago

1.1.28

7 years ago

1.1.26

7 years ago

1.1.24

7 years ago

1.1.22

7 years ago

1.1.15

7 years ago

1.1.14

7 years ago

1.1.13

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago