Skip to content

Commit

Permalink
Removed Class attribute from Keyboard Wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
Utzel-Butzel committed Jul 25, 2017
1 parent 463882d commit 2a19f24
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
node_modules
node_modules
*.sublime-project
*.sublime-workspace
2 changes: 1 addition & 1 deletion dist/Keyboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ var _class = function (_React$Component) {
}
return _react2.default.createElement(
'div',
{ 'class': 'keyboard-wrapper', className: this.state.className },
{ className: this.state.className },
' ',
element,
' '
Expand Down
2 changes: 1 addition & 1 deletion lib/Keyboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,6 @@ export default class extends React.Component {
else {
var element = ( <input ref="keyboard" value = { this.state.value } onChange = { this.handleChange } {...other} /> );
}
return ( <div class="keyboard-wrapper" className={this.state.className} > { element } </div> );
return ( <div className={this.state.className} > { element } </div> );
}
}

0 comments on commit 2a19f24

Please sign in to comment.