Skip to content

Commit

Permalink
Merge pull request Hacker0x01#1405 from kaekasui/fix-commentout-position
Browse files Browse the repository at this point in the history
Move '}' for js code markdown.
  • Loading branch information
rafeememon authored Jun 17, 2018
2 parents febaf1d + 8e07160 commit 8ab13e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ You can use `onSelect` event handler which fires each time some calendar date ha

```js
<DatePicker selected={this.state.date}
onSelect={this.handleSelect //when day is clicked}
onChange={this.handleChange //only when value has changed}
onSelect={this.handleSelect} //when day is clicked
onChange={this.handleChange} //only when value has changed
/>
```

Expand Down

0 comments on commit 8ab13e0

Please sign in to comment.