Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <View style={{ borderBottomWidth: 0.4, borderBottomColor: '#858585' }}>
- <TouchableOpacity
- style={Style.suggestionView}
- onPress={() => {
- this.props.UserStore.addRecentSearch(item[this.props.text_key])
- this.props.NavigationStore.navigate({ routeName: 'ProductInfo', params: { item } })
- this.autoCompleteTimeout = setTimeout(() => {
- if (mounted) this.setState({ showAutoComplete: false })
- }, 400)
- }}
- >
- <Text style={{ marginLeft: 20, textAlign: 'left', color: '#9B999A', fontFamily: 'Poppins-bold' }}>{suggestion}</Text>
- <Icon name='chevron-right' size={20} style={{ color: 'grey' }} />
- </TouchableOpacity>
- </View>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement