Skip to content
This repository was archived by the owner on Feb 28, 2018. It is now read-only.
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
removed style from wrapping div
  • Loading branch information
jesselurie authored Aug 24, 2017
commit 5b01736a1812d349f011917f77d4e254b3a5eb52
6 changes: 4 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ var InputPassword = React.createClass({
minLength: RP.number,
strengthLang:RP.array,
id: RP.string,
wrappedDivStyle: RP.object,
},


Expand All @@ -36,7 +37,8 @@ var InputPassword = React.createClass({
toggleMask: true,
unMaskTime: config.unMaskTime,
strengthLang: config.strengthLang,
id: 'input'
id: 'input',
wrappedDivStyle: {}
}
},

Expand Down Expand Up @@ -256,7 +258,7 @@ var InputPassword = React.createClass({

return (
<div
style={{position: 'relative', display: 'inline-block'}}
style={this.props.wrappedDivStyle}
className="passwordField"
data-valid={this.state.isValid}
data-score={this.state.score}
Expand Down