Skip to content

Commit dfd8915

Browse files
committed
docs: update docs
1 parent 1905a8c commit dfd8915

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

docs/TEXT_API_REFERENCE.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# EnrichedText API Reference
22

3-
> **Web is not yet supported.** `EnrichedText` is only available on iOS and Android.
3+
> **Web support is experimental.** Behavior may change without a major version bump.
44
55
## Props
66

@@ -16,25 +16,25 @@ If `true`, the text respects the system's accessibility font scaling settings.
1616

1717
The HTML string to render. Accepts the HTML format produced by `EnrichedTextInput`.
1818

19-
| Type | Default Value | Platform |
20-
| -------- | ------------- | ------------ |
21-
| `string` | - | iOS, Android |
19+
| Type | Default Value | Platform |
20+
| -------- | ------------- | ----------------- |
21+
| `string` | - | iOS, Android, Web |
2222

2323
### `style`
2424

2525
Standard React Native `TextStyle` applied to the text.
2626

27-
| Type | Default Value | Platform |
28-
| ----------- | ------------- | ------------ |
29-
| `TextStyle` | - | iOS, Android |
27+
| Type | Default Value | Platform |
28+
| ----------- | ------------- | ----------------- |
29+
| `TextStyle` | - | iOS, Android, Web |
3030

3131
### `htmlStyle`
3232

3333
A prop for customizing styles of HTML elements, including press colors for interactive elements.
3434

35-
| Type | Default Value | Platform |
36-
| ------------------------------------------------------ | ------------- | ------------ |
37-
| [`EnrichedTextHtmlStyle`](#enrichedtexthtmlstyle-type) | - | iOS, Android |
35+
| Type | Default Value | Platform |
36+
| ------------------------------------------------------ | ------------- | ----------------- |
37+
| [`EnrichedTextHtmlStyle`](#enrichedtexthtmlstyle-type) | - | iOS, Android, Web |
3838

3939
### `useHtmlNormalizer`
4040

@@ -80,9 +80,9 @@ If `true`, the text can be selected by the user (e.g. for copy/paste).
8080

8181
The color of the text selection highlight.
8282

83-
| Type | Default Value | Platform |
84-
| ---------------------------------------------- | -------------- | ------------ |
85-
| [`color`](https://reactnative.dev/docs/colors) | system default | iOS, Android |
83+
| Type | Default Value | Platform |
84+
| ---------------------------------------------- | -------------- | ----------------- |
85+
| [`color`](https://reactnative.dev/docs/colors) | system default | iOS, Android, Web |
8686

8787
### `onLinkPress`
8888

0 commit comments

Comments
 (0)