Skip to content

Commit 7de6e2b

Browse files
committed
docs: update description, links
1 parent 4e6eada commit 7de6e2b

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "react-linkify-it",
33
"author": "Ananto Ghosh",
44
"version": "1.0.7",
5-
"description": "A tiny, dependency free react package that turns urls (with i18n and emoji support), emails, jira tickets, twitter handles, anything you want! in your text clickable (aka linkify).",
5+
"description": "A tiny and dependency free universal linking solution that turns any pattern in your text into clickable links (aka linkify). Supports i18n and emojis.",
66
"license": "MIT",
77
"type": "module",
88
"source": "src/index.tsx",

readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<a href="https://github.com/sponsors/anantoghosh" rel="nofollow"><img alt="Support me on Github" src="https://anantoghosh.github.io/assets/support_github.svg" height="36" /></a>
1313
<a href="https://ko-fi.com/anantoghosh" rel="nofollow"><img alt="Support me on KoFi" src="https://anantoghosh.github.io/assets/support_kofi.svg" height="36" /></a>
1414

15-
A tiny and dependency free universal linking solution that turns **any pattern** in your text clickable (aka linkify).
15+
A tiny and dependency free universal linking solution that turns **any pattern** in your text into clickable links (aka linkify). Supports i18n and emojis.
1616

1717
`react-linkify-it` comes with a set of prebuilt components for specific linking needs and a generic component to wrap any pattern with a component.
1818

@@ -189,7 +189,7 @@ const App = () => (
189189

190190
By default, when you import `react-linkify-it`, it will use a modern bundle
191191
meant for browsers which
192-
support [RegExp Unicode property escapes](https://caniuse.com/mdn-javascript_builtins_regexp_property_escapes).
192+
support [RegExp Unicode property escapes](https://caniuse.com/mdn-javascript_regular_expressions_property_escapes).
193193

194194
If you are using `babel-preset-env`, or any bundler configuration which uses it (e.g. `create-react-app`, `vite`) with a
195195
browser which does not support RegExp Unicode property escapes, babel will
@@ -204,7 +204,7 @@ older browsers, you can use the legacy bundle by importing:
204204
import { linkIt, LinkIt } from "react-linkify-it/legacy";
205205
```
206206

207-
### For typescript projects ([why?](https://github.com/microsoft/TypeScript/issues/33079))
207+
### For typescript < v5.0.0 projects ([why?](https://github.com/microsoft/TypeScript/issues/33079))
208208

209209
```js
210210
import { linkIt, LinkIt } from "react-linkify-it/dist/react-linkify-it.legacy.esm.min";

0 commit comments

Comments
 (0)