Skip to content

Commit 46fec69

Browse files
committed
Set default clear button style. 1.0.1
1 parent ecad9aa commit 46fec69

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

lib/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,7 @@ exports.default = _react2.default.createClass({
348348
ref: 'input',
349349
type: 'text',
350350
valueLink: null,
351+
bsStyle: this.props.bsStyle || "default",
351352
placeholder: this.state.focused ? "MM/DD/YYYY" : this.props.placeholder,
352353
onFocus: this.handleFocus,
353354
onBlur: this.handleBlur,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "react-bootstrap-date-picker",
33
"keywords": ["react", "react-component", "react-bootstrap", "bootstrap", "date picker", "calendar", "date", "picker"],
44
"main": "lib/index.js",
5-
"version": "1.0.0",
5+
"version": "1.0.1",
66
"description": "React-Bootstrap based date picker.",
77
"directories": {
88
"test": "test"

src/index.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,7 @@ export default React.createClass({
296296
ref="input"
297297
type="text"
298298
valueLink={null}
299+
bsStyle={this.props.bsStyle || "default"}
299300
placeholder={this.state.focused ? "MM/DD/YYYY" : this.props.placeholder}
300301
onFocus={this.handleFocus}
301302
onBlur={this.handleBlur}

0 commit comments

Comments
 (0)