Skip to content

Commit c46e0bb

Browse files
committed
Documented highLightColor prop
1 parent 36d9b33 commit c46e0bb

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ Change valueExtractor and pass the data to Autocomplete without fetchDataUrl
132132
:----------------- |:--------------------------------------------- | --------:|:------------------
133133
autoCorrect | Disable auto-correct | Boolean | true
134134
highlightText | Highlight search results | Boolean | true
135+
highLightColor | Highlight text color | String | #129a8d
135136
rightContent | Render additional text to the right of the item | Boolean | false
136137
resetOnSelect | Reset the input after choosing an item | Boolean | false
137138
minimumCharactersCount | Perform API request after certain number of characters entered | Number | 2

index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import { ViewStyle, TextStyle, StyleProp } from 'react-native';
66
type AutocompleteProps = {
77
autoCorrect?: boolean,
88
highlightText?: boolean,
9+
highLightColor?: string,
910
rightContent?: boolean,
1011
resetOnSelect?: boolean,
1112
minimumCharactersCount?: number,

0 commit comments

Comments
 (0)