Skip to content

Commit

Permalink
Merge pull request #434 from gpbl/fix-classnames
Browse files Browse the repository at this point in the history
Add missing className to wrapper
  • Loading branch information
gpbl authored Jun 26, 2017
2 parents b06932b + 9a8064b commit 0faa81e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/DayPicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ export default class DayPicker extends Component {
today: PropTypes.string.isRequired,
todayButton: PropTypes.string,
week: PropTypes.string,
wrapper: PropTypes.string,
}),
className: PropTypes.string,
containerProps: PropTypes.object,
Expand Down Expand Up @@ -504,7 +505,7 @@ export default class DayPicker extends Component {
lang={this.props.locale}
>
<div
className={classNames.wrapper}
className={this.props.classNames.wrapper}
tabIndex={this.props.canChangeMonth && this.props.tabIndex}
onKeyDown={this.handleKeyDown}
onFocus={this.props.onFocus}
Expand Down

0 comments on commit 0faa81e

Please sign in to comment.