Skip to content
This repository was archived by the owner on Jun 24, 2021. It is now read-only.

Commit 84a9bb8

Browse files
committed
update README
1 parent 70eda2c commit 84a9bb8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -81,3 +81,7 @@ import { SelectableText } from "@astrocoders/react-native-selectable-text";
8181
| **highlightColor** | highlight color |string | null |
8282
| **onHighlightPress** | called when the user taps the highlight |(id: string) => void | () => {} |
8383
| **appendToChildren** | element to be added in the last line of text | ReactNode | null |
84+
| **TextComponent** | Text component used to render `value` | ReactNode | <Text> |
85+
| **textValueProp** | text value prop for TextComponent. Should be used when passing TextComponent. Defaults to 'children' which works for <Text> | string | 'children' |
86+
| **textComponentProps** | additional props to pass to TextComponent | object | null |
87+

0 commit comments

Comments
 (0)