0.8.0
This release contains breaking changes:
- The
Icon
component is now a pureText
composition, that means some more advanced styling use cases might break. Try wrapping the icon in aView
to remedy this. lineHeight
andheight
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 anIcon
no longer works, useIcon.Button
instead or just inline theIcon
in yourText
.
Other changes:
- All props on the
Icon
will be passed onto the underlyingText
component, this is useful for disablingallowFontScaling
. - New
Icon.Button
component. - No longer dependent on private React Native APIs
- Updated EvilIcons to 1.7.8.