Skip to main content

SearchScreen

<SearchScreen
resultsArea={}
testID={'searchInput'}
showNoResults={'shouldShowNoResults'}
innerSearchInputProps={{onChangeText, showLoader: shouldShowLoader}}
/>
APIThis is the list of additional props for the component

customInput
React.ReactNode
​

Custom input to replace the default search input

inputProps
SearchInputProps
​

Props to pass to the SearchInput

noResultsMessage
string
​

A message to replace the default no results message

noResultsTitle
string
​

A title to replace the default no results title

onShow
() => void
​

A callback to be called once the search screen is shown

resultsArea
React.ReactNode
Required
​

Results area

screenInputProps
SearchInputProps
​

Props to pass to the screen SearchInput

showNoResults
boolean
​

whether to show the no results message

testID
string
​

test identifier