Skip to content

0.8.0

Compare
Choose a tag to compare
@oblador oblador released this 13 Oct 15:48
· 1117 commits to master since this release

This release contains breaking changes:

  • The Icon component is now a pure Text composition, that means some more advanced styling use cases might break. Try wrapping the icon in a View to remedy this.
  • lineHeight and height styles are no longer set by default which might cause alignment issues, set them explicitly instead if it breaks your design.
  • setNativeProps is now applied directly to the icon itself.
  • Nesting Text in an Icon no longer works, use Icon.Button instead or just inline the Icon in your Text.

Other changes:

  • All props on the Icon will be passed onto the underlying Text component, this is useful for disabling allowFontScaling.
  • New Icon.Button component.
  • No longer dependent on private React Native APIs
  • Updated EvilIcons to 1.7.8.