react-chat-elements
Advanced tools
Comparing version 0.4.6 to 0.4.7
@@ -181,3 +181,3 @@ import React, { Component } from 'react'; | ||
// buttonsFloat='left' | ||
buttons={ | ||
rightButtons={ | ||
<div> | ||
@@ -190,3 +190,2 @@ <Button | ||
}} | ||
type='circle' | ||
icon={{ | ||
@@ -197,13 +196,2 @@ component: <FaSearch />, | ||
}}/> | ||
<Button | ||
color='white' | ||
backgroundColor='black' | ||
onClick={e => { | ||
this.addMessage(); | ||
}} | ||
icon={{ | ||
component: <FaSearch />, | ||
size: 18, | ||
float: 'right' | ||
}}/> | ||
@@ -210,0 +198,0 @@ </div> |
{ | ||
"name": "react-chat-elements", | ||
"version": "0.4.6", | ||
"version": "0.4.7", | ||
"description": "Reactjs chat components", | ||
@@ -5,0 +5,0 @@ "author": "Avare Kodcu <abdurrahmaneker58@gmail.com>", |
@@ -36,6 +36,6 @@ import React, { Component } from 'react'; | ||
return ( | ||
<div className="rce-container-input"> | ||
<div className={classNames('rce-container-input', this.props.className)}> | ||
{ | ||
this.props.leftButtons && | ||
<div className="rce-input-buttons"> | ||
<div className='rce-input-buttons'> | ||
{this.props.leftButtons} | ||
@@ -48,3 +48,3 @@ </div> | ||
type={this.props.type} | ||
className={classNames("rce-input")} | ||
className={classNames('rce-input')} | ||
placeholder={this.props.placeholder} | ||
@@ -57,3 +57,3 @@ value={this.state.value} | ||
type={this.props.type} | ||
className={classNames("rce-input", 'rce-input-textarea')} | ||
className={classNames('rce-input', 'rce-input-textarea')} | ||
placeholder={this.props.placeholder} | ||
@@ -66,3 +66,3 @@ value={this.state.value} | ||
this.props.rightButtons && | ||
<div className="rce-input-buttons"> | ||
<div className='rce-input-buttons'> | ||
{this.props.rightButtons} | ||
@@ -69,0 +69,0 @@ </div> |
@@ -12,3 +12,3 @@ import React, { Component } from 'react'; | ||
return ( | ||
<div className={classNames('rce-popup-wrapper', this.props.type)}> | ||
<div className={classNames('rce-popup-wrapper', this.props.type, this.props.className)}> | ||
<div className="rce-popup"> | ||
@@ -72,2 +72,2 @@ { | ||
export default Popup; | ||
export default Popup; |
@@ -9,3 +9,3 @@ import React, { Component } from 'react'; | ||
return ( | ||
<div className={classNames('rce-sbar', this.props.type)}> | ||
<div className={classNames('rce-sbar', this.props.type, this.props.className)}> | ||
<div className="rce-sbar-item"> | ||
@@ -32,2 +32,2 @@ {this.props.top} | ||
export default SideBar; | ||
export default SideBar; |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
137275
1749