Skip to content

3.0.0

Compare
Choose a tag to compare
@joshswan joshswan released this 20 Mar 21:25
· 24 commits to master since this release
7b6c907

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

  • allow custom container component and more customization (b22f4e7), closes #48

⚠ BREAKING CHANGES

  • Non-Autolink props are no longer passed to links. Only styles supplied to
    linkStyle and props supplied to linkProps are used when rendering links. You are still free to
    use renderLink to fully customize link rendering. This is unlikely to cause issues for anyone, but could affect some apps visually, hence the major version bump.