Skip to content

Is there a way to give placeholder text for the search box? #34

Answered by azeezat
vinodsptharsha asked this question in Q&A
Discussion options

You must be logged in to vote

@vinodsptharsha Great question. A new release has just been published addressing this question

 searchControls={{
              textInputProps: {
                placeholder: 'Search anything here',
                placeholderTextColor: 'gray',
              },
            }} 

textInputProps can take the same kind of properties accepted by the base React Native TextInput

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
8 replies
@vinodsptharsha
Comment options

@azeezat
Comment options

@vinodsptharsha
Comment options

@vinodsptharsha
Comment options

@azeezat
Comment options

Answer selected by azeezat
Comment options

You must be logged in to vote
1 reply
@azeezat
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants