Releases: samuelmeuli/font-picker-react
Releases · samuelmeuli/font-picker-react
v2.3.0
Added
- Support for
prop-types
Fixed
- Props documentation
v2.2.1
v2.2.0
Changed
- Performance improvements by throttling functions on scroll
v2.1.0
Changes:
- The library is now also bundled as an ES module (
lib/FontPicker.es.js
) - Updated dependencies (including font-picker v2.1 and major Babel and Storybook versions)
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