v2.0.0
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 theactiveFont
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