3.0.0
3.0.0 (2020-03-20)
Customization of the container component is now supported via the component
prop. By default, the container is still a Text
component, but you can override with a View
or a custom component for more flexibility.
Additionally, the new linkProps
, textProps
, and renderText
provide allow you to completely customize Autolink's behavior to your specific needs.
Features
⚠ BREAKING CHANGES
- Non-Autolink props are no longer passed to links. Only styles supplied to
linkStyle
and props supplied tolinkProps
are used when rendering links. You are still free to
userenderLink
to fully customize link rendering. This is unlikely to cause issues for anyone, but could affect some apps visually, hence the major version bump.