rivigo-ui-commons
Chat Widget -
Last updated a year ago by amanjuneja3012 .
ISC · Repository · Original npm · Tarball · package.json
$ cnpm install rivigo-ui-commons 
SYNC missed versions from official npm registry.

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

Form Components

Motivation

  • Create common form components that can be directly used without handling state of fields
  • Use components in either controlled or uncontrolled way.

Usage


import { InputField, TextArea, DropDown, Upload, Toggle, DateTimePicker } from '../ReactComponents/formElements';

<InputField 
	label="Simple Input Field"
    onChange={this.onChange}   
    placeholder="Simple Text"
    error                 
    isRequired         
    disabled           
/>

Components

This pakage provides following React Field components:

InputField

Abstract component that expects label, onChange method.

Prop Name Type Default Description
label String Label of field.
type String Type of field (text/number)
disabled Boolean false Toggles component disabled.
isRequired Boolean false Show * if field is required.
placeholder Boolean Any value that is displayed if value is empty.
className String Style class name added to root element.

Current Tags

  • 2.5.2                                ...           latest (a year ago)

204 Versions

  • 2.5.2                                ...           a year ago
  • 2.5.1                                ...           a year ago
  • 2.5.0                                ...           a year ago
  • 2.4.9                                ...           a year ago
  • 2.4.8                                ...           a year ago
  • 2.4.7                                ...           a year ago
  • 2.4.6                                ...           a year ago
  • 2.4.5                                ...           a year ago
  • 2.4.4                                ...           a year ago
  • 2.4.3                                ...           a year ago
  • 2.4.2                                ...           a year ago
  • 2.4.1                                ...           a year ago
  • 2.4.0                                ...           a year ago
  • 2.3.100                                ...           a year ago
  • 2.3.99                                ...           a year ago
  • 2.3.98                                ...           a year ago
  • 2.3.97                                ...           a year ago
  • 2.3.96                                ...           a year ago
  • 2.3.95                                ...           a year ago
  • 2.3.94                                ...           a year ago
  • 2.3.93                                ...           a year ago
  • 2.3.92                                ...           a year ago
  • 2.3.91                                ...           a year ago
  • 2.3.90                                ...           a year ago
  • 2.3.89                                ...           a year ago
  • 2.3.88                                ...           a year ago
  • 2.3.87                                ...           a year ago
  • 2.3.86                                ...           a year ago
  • 2.3.85                                ...           a year ago
  • 2.3.84                                ...           a year ago
  • 2.3.83                                ...           a year ago
  • 2.3.82                                ...           a year ago
  • 2.3.81                                ...           a year ago
  • 2.3.79                                ...           a year ago
  • 2.3.78                                ...           a year ago
  • 2.3.77                                ...           a year ago
  • 2.3.76                                ...           a year ago
  • 2.3.75                                ...           a year ago
  • 2.3.74                                ...           a year ago
  • 2.3.73                                ...           a year ago
  • 2.3.72                                ...           a year ago
  • 2.3.71                                ...           a year ago
  • 2.3.70                                ...           a year ago
  • 2.3.69                                ...           a year ago
  • 2.3.67                                ...           a year ago
  • 2.3.66                                ...           a year ago
  • 2.3.65                                ...           2 years ago
  • 2.3.64                                ...           2 years ago
  • 2.3.63                                ...           2 years ago
  • 2.3.62                                ...           2 years ago
  • 2.3.61                                ...           2 years ago
  • 2.3.60                                ...           2 years ago
  • 2.3.59                                ...           2 years ago
  • 2.3.58                                ...           2 years ago
  • 2.3.57                                ...           2 years ago
  • 2.3.56                                ...           2 years ago
  • 2.3.55                                ...           2 years ago
  • 2.3.54                                ...           2 years ago
  • 2.3.53                                ...           2 years ago
  • 2.3.52                                ...           2 years ago
  • 2.3.51                                ...           2 years ago
  • 2.3.50                                ...           2 years ago
  • 2.3.48                                ...           2 years ago
  • 2.3.46                                ...           2 years ago
  • 2.3.45                                ...           2 years ago
  • 2.3.44                                ...           2 years ago
  • 2.3.43                                ...           2 years ago
  • 2.3.42                                ...           2 years ago
  • 2.3.41                                ...           2 years ago
  • 2.3.40                                ...           2 years ago
  • 2.3.39                                ...           2 years ago
  • 2.3.38                                ...           2 years ago
  • 2.3.37                                ...           2 years ago
  • 2.3.36                                ...           2 years ago
  • 2.3.35                                ...           2 years ago
  • 2.3.34                                ...           2 years ago
  • 2.3.33                                ...           2 years ago
  • 2.3.32                                ...           2 years ago
  • 2.3.30                                ...           2 years ago
  • 2.3.29                                ...           2 years ago
  • 2.3.28                                ...           2 years ago
  • 2.3.27                                ...           2 years ago
  • 2.3.26                                ...           2 years ago
  • 2.3.25                                ...           2 years ago
  • 2.3.24                                ...           2 years ago
  • 2.3.23                                ...           2 years ago
  • 2.3.22                                ...           2 years ago
  • 2.3.21                                ...           2 years ago
  • 2.3.20                                ...           2 years ago
  • 2.3.17                                ...           2 years ago
  • 2.3.16                                ...           2 years ago
  • 2.3.15                                ...           2 years ago
  • 2.3.14                                ...           2 years ago
  • 2.3.13                                ...           2 years ago
  • 2.3.12                                ...           2 years ago
  • 2.3.11                                ...           2 years ago
  • 2.3.10                                ...           2 years ago
  • 2.3.9                                ...           2 years ago
  • 2.3.8                                ...           2 years ago
  • 2.3.7                                ...           2 years ago
  • 2.3.6                                ...           2 years ago
  • 2.3.5                                ...           2 years ago
  • 2.3.4                                ...           2 years ago
  • 2.3.3                                ...           2 years ago
  • 2.3.2                                ...           2 years ago
  • 2.3.1                                ...           2 years ago
  • 2.3.0                                ...           2 years ago
  • 2.2.66                                ...           2 years ago
  • 2.2.65                                ...           2 years ago
  • 2.2.64                                ...           2 years ago
  • 2.2.63                                ...           2 years ago
  • 2.2.62                                ...           2 years ago
  • 2.2.61                                ...           2 years ago
  • 2.2.60                                ...           2 years ago
  • 2.2.59                                ...           2 years ago
  • 2.2.58                                ...           2 years ago
  • 2.2.57                                ...           2 years ago
  • 2.2.56                                ...           2 years ago
  • 2.2.55                                ...           2 years ago
  • 2.2.54                                ...           2 years ago
  • 2.2.53                                ...           2 years ago
  • 2.2.52                                ...           2 years ago
  • 2.2.51                                ...           2 years ago
  • 2.2.50                                ...           2 years ago
  • 2.2.49                                ...           2 years ago
  • 2.2.48                                ...           2 years ago
  • 2.2.47                                ...           2 years ago
  • 2.2.46                                ...           2 years ago
  • 2.2.45                                ...           2 years ago
  • 2.2.44                                ...           2 years ago
  • 2.2.43                                ...           2 years ago
  • 2.2.42                                ...           2 years ago
  • 2.2.41                                ...           2 years ago
  • 2.2.40                                ...           2 years ago
  • 2.2.35                                ...           2 years ago
  • 2.2.34                                ...           2 years ago
  • 2.2.33                                ...           2 years ago
  • 2.2.32                                ...           2 years ago
  • 2.2.31                                ...           2 years ago
  • 2.2.30                                ...           2 years ago
  • 2.2.29                                ...           2 years ago
  • 2.2.28                                ...           2 years ago
  • 2.2.27                                ...           2 years ago
  • 2.2.26                                ...           2 years ago
  • 2.2.25                                ...           2 years ago
  • 2.2.24                                ...           2 years ago
  • 2.2.23                                ...           2 years ago
  • 2.2.22                                ...           2 years ago
  • 2.2.21                                ...           2 years ago
  • 2.2.20                                ...           2 years ago
  • 2.2.19                                ...           2 years ago
  • 2.2.18                                ...           2 years ago
  • 2.2.17                                ...           2 years ago
  • 2.2.16                                ...           2 years ago
  • 2.2.15                                ...           2 years ago
  • 2.2.14                                ...           2 years ago
  • 2.2.13                                ...           2 years ago
  • 2.2.12                                ...           2 years ago
  • 2.2.10                                ...           2 years ago
  • 2.2.9                                ...           2 years ago
  • 2.2.8-gi                                ...           2 years ago
  • 2.2.7                                ...           2 years ago
  • 2.2.6                                ...           2 years ago
  • 2.2.5                                ...           2 years ago
  • 2.2.4                                ...           2 years ago
  • 2.2.3                                ...           2 years ago
  • 2.2.2                                ...           2 years ago
  • 2.2.1                                ...           2 years ago
  • 2.2.0                                ...           2 years ago
  • 2.1.9                                ...           2 years ago
  • 2.1.8                                ...           2 years ago
  • 2.1.7                                ...           2 years ago
  • 2.1.6                                ...           2 years ago
  • 2.1.5                                ...           2 years ago
  • 2.1.4                                ...           2 years ago
  • 2.1.3                                ...           2 years ago
  • 2.1.2                                ...           2 years ago
  • 2.1.1                                ...           2 years ago
  • 2.1.0                                ...           2 years ago
  • 2.0.9                                ...           2 years ago
  • 2.0.8                                ...           2 years ago
  • 2.0.7                                ...           2 years ago
  • 2.0.6                                ...           2 years ago
  • 2.0.5                                ...           2 years ago
  • 2.0.4                                ...           2 years ago
  • 2.0.3                                ...           2 years ago
  • 2.0.1                                ...           2 years ago
  • 2.0.0                                ...           2 years ago
  • 1.1.7                                ...           2 years ago
  • 1.1.6                                ...           2 years ago
  • 1.1.5                                ...           2 years ago
  • 1.1.4                                ...           2 years ago
  • 1.1.1                                ...           2 years ago
  • 1.1.0                                ...           2 years ago
  • 1.0.9                                ...           2 years ago
  • 1.0.8                                ...           2 years ago
  • 1.0.7                                ...           2 years ago
  • 1.0.6                                ...           2 years ago
  • 1.0.5                                ...           2 years ago
  • 1.0.4                                ...           2 years ago
  • 1.0.3                                ...           2 years ago
  • 1.0.2                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 0
Dependencies (35)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |