pontoon icon indicating copy to clipboard operation
pontoon copied to clipboard

Incorporate type definitions for react-linkify

Open bugzilla-to-github opened this issue 4 years ago • 2 comments

This issue was created automatically by a script.

Bug 1714369

Bug Reporter: @mathjazz CC: @abowler2, @Pike Depends on: Bug 1685565 See also: https://bugzilla.mozilla.org/show_bug.cgi?id=1712446

From bug 1712446: react-linkify has a typing lib, but they don't support the properties prop, which has been removed on master. An upcoming release is likely gonna ship with typescript bindings, too.

bugzilla-to-github avatar Jun 03 '21 00:06 bugzilla-to-github

Comment Author: @Pike

Given that react-linkify hasn't managed to release since 2019, https://github.com/tasti/react-linkify/, and the type libs are for master, I think it'd be great if we could drop this dependency.

bugzilla-to-github avatar Sep 09 '21 05:09 bugzilla-to-github

Maybe https://linkify.js.org/docs/linkify-react.html is an option.

Pike avatar Dec 12 '21 21:12 Pike