Skip to content

Commit

Permalink
onCopy, onCut, onPaste
Browse files Browse the repository at this point in the history
  • Loading branch information
abdurrahmanekr committed Oct 6, 2017
1 parent 09f46b5 commit e3856c1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-chat-elements",
"version": "0.4.27",
"version": "0.4.28",
"description": "Reactjs chat components",
"author": "Avare Kodcu <[email protected]>",
"main": "dist/main.js",
Expand Down
6 changes: 6 additions & 0 deletions src/Input/Input.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ export class Input extends Component {
value={this.state.value}
style={this.props.inputStyle}
onChange={this.onChange.bind(this)}
onCopy={this.props.onCopy}
onCut={this.props.onCut}
onPaste={this.props.onPaste}
onBlur={this.props.onBlur}
onFocus={this.props.onFocus}
onSelect={this.props.onSelect}
Expand All @@ -84,6 +87,9 @@ export class Input extends Component {
value={this.state.value}
style={this.props.inputStyle}
onChange={this.onChange.bind(this)}
onCopy={this.props.onCopy}
onCut={this.props.onCut}
onPaste={this.props.onPaste}
onBlur={this.props.onBlur}
onFocus={this.props.onFocus}
onSelect={this.props.onSelect}
Expand Down

0 comments on commit e3856c1

Please sign in to comment.