Skip to content

Commit 566d9aa

Browse files
committed
docs: fix incorrect default value for truncate prop in README
1 parent 4100d2a commit 566d9aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ _Note:_ You'll need to handle press logic yourself when using `renderLink`.
276276

277277
| Type | Required | Default | Description |
278278
| ------ | -------- | ------- | ---------------------------------------------------------------------------------------- |
279-
| number | No | `32` | Maximum length of URL link text. Possible values: `0` (disabled), `1+` (maximum length). |
279+
| number | No | `0` | Maximum length of URL link text. Possible values: `0` (disabled), `1+` (maximum length). |
280280

281281
```js
282282
<Autolink text={text} truncate={20} />

0 commit comments

Comments
 (0)