Skip to content

v2.0.0

Compare
Choose a tag to compare
@samuelmeuli samuelmeuli released this 18 Apr 16:32
· 89 commits to master since this release
405b418

Here's what's new in version 2.0:

  • The project has been refactored and now uses FontManager.js from the font-picker package, which simplifies the component's code
  • The defaultFont prop has been replaced with the activeFont prop. The active font should now be stored outside the <FontPicker /> component, e.g. in the parent component's state or using Redux (see example in README). That way, the font is no longer stored redundantly in some cases, and it can be changed programatically after the font picker has been rendered (#1)
  • Other small improvements