tasti / react-linkify

React component to parse links (urls, emails, etc.) in text into clickable links
http://tasti.github.io/react-linkify/
MIT License
555 stars 106 forks source link

React Linkify - Properties is not working #99

Open Harisaxim opened 4 years ago

Harisaxim commented 4 years ago

Linkify properties is not working and says error - method overload is not allowed. I have checked in both '^1.0.0-alpha' and '0.2.2' versions.

asp2809 commented 4 years ago

As said in the Issue #96 I think the support for properties prop is removed in the following commit: https://github.com/tasti/react-linkify/commit/95f86074dcddf55f903c6ee1b2ff71ea56c5f083#diff-3a7bfc073d2f2d2454177d75e2f4e231

However, there is a workaround mentioned in the same issue using componentDecorator which you can have a look at here.

jeremyblalock commented 3 years ago

@Harisaxim I tried version 0.2.2 and it works fine as described in the docs.