You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 24, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+4
Original file line number
Diff line number
Diff line change
@@ -81,3 +81,7 @@ import { SelectableText } from "@astrocoders/react-native-selectable-text";
81
81
|**highlightColor**| highlight color |string | null |
82
82
|**onHighlightPress**| called when the user taps the highlight |(id: string) => void | () => {} |
83
83
|**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 |
0 commit comments