Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
update changelog
  • Loading branch information
hanse committed Nov 13, 2017
1 parent 3738e6e commit b73d9ae
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions CHANGELOG.md
@@ -1,8 +1,25 @@
## next
## v2.0.0
* Add `contentClassName` and `containerClassName` props.

**Breaking changes**
* Make it more flexible by removing the wrapping div in `renderDay`. You are now in full control of the rendering.
* Make it more flexible by removing the wrapping div in `renderDay`. You are now in full control of the rendering. The default implementation is:
```js
<Calendar
renderDay={({ day, classNames, onPickDate }) => (
<div
key={day.format()}
className={cx(
'Calendar-grid-item',
day.isSame(moment(), 'day') && 'Calendar-grid-item--current',
classNames
)}
onClick={e => onPickDate(day)}
>
{day.format('D')}
</div>
)}
/>
```

## v1.3.0
* Add `renderHeader` to allow using a different header component.
Expand Down

0 comments on commit b73d9ae

Please sign in to comment.