Skip to content

Commit 5a698a4

Browse files
committed
Add style parameter
1 parent e16bbcf commit 5a698a4

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

CHANGELOG.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
1.2.5
2+
------------------
3+
* Add new style parameter to the rendered <input>
4+
15
1.2.4 (2018-12-12)
26
------------------
37
* More click-hold bug fixes.

lib/RangeStepInput.jsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ export default class RangeStepInput extends React.Component {
3434
value={this.props.value}
3535
name={this.props.name}
3636
id={this.props.id}
37+
style={this.props.style}
3738
disabled={this.props.disabled}
3839
onChange={this.props.onChange}
3940
onMouseDown={this.onMouseDown}
@@ -149,6 +150,7 @@ RangeStepInput.propTypes = {
149150
id: PropTypes.string,
150151
name: PropTypes.string,
151152
disabled: PropTypes.bool,
153+
style: PropTypes.string,
152154

153155
// Determines whether the slider changes value when the cursor is
154156
// held on it.

0 commit comments

Comments
 (0)