github wojtekmaj/react-calendar v2.4.0

latest releases: v5.0.0, v4.8.0, v4.7.0...
6 years ago

What's new?

  • More control over what's displayed in calendar tiles. Use tileContent to provide custom content to the tiles - statically or dynamically. Use tileClassName to apply custom class name to the tiles, also statically or dynamically. See README.md for more details (#9).

What's changed?

  • renderChildren was replaced with much more powerful tileContent. In tileContent, you're no longer limited to passing content by using a function, you can also use a React element or a string. renderChildren will automatically be mapped to tileContent til the next major version.

Don't miss a new react-calendar release

NewReleases is sending notifications on new releases.