You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,22 @@ and this project adheres (more or less) to [Semantic Versioning](http://semver.o
7
7
8
8
## Unreleased
9
9
10
+
### 0.20.0
11
+
12
+
### improvements
13
+
* eliminate extra renders on every scroll - #357[acemac](https://github.com/acemac)
14
+
15
+
### Fixed
16
+
* When the `date` prop on a `CustomMarker` changes the marker will now move on the timeline - #421[kevinmanncito](https://github.com/kevinmanncito)[ilaiwi](https://github.com/ilaiwi)
17
+
* Header has a bounce effect - #311[acemac](https://github.com/acemac)
@@ -787,15 +776,8 @@ You need to include the `Timeline.css` file, either via static file reference or
787
776
788
777
## How can I have items with different colors?
789
778
790
-
[Items](https://github.com/namespace-ee/react-calendar-timeline#items) have a "className" parameter. For example if you have "standard" items and "analysis" items, then you can just add an "analysis" class for your analysis items and then change the css backgroundColor property for them.
791
-
792
-
You will then need to override the default CSS rule:
Now you can use item renderer for rendering items with different colors [itemRenderer](https://github.com/namespace-ee/react-calendar-timeline#itemrenderer).
780
+
Please refer to [examples](https://github.com/namespace-ee/react-calendar-timeline/tree/master/examples#custom-item-rendering) for a sandbox example
0 commit comments