SHARE
TWEET

Untitled

a guest Jun 20th, 2019 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <View style={{ borderBottomWidth: 0.4, borderBottomColor: '#858585' }}>
  2.         <TouchableOpacity
  3.           style={Style.suggestionView}
  4.           onPress={() => {
  5.             this.props.UserStore.addRecentSearch(item[this.props.text_key])
  6.             this.props.NavigationStore.navigate({ routeName: 'ProductInfo', params: { item } })
  7.             this.autoCompleteTimeout = setTimeout(() => {
  8.               if (mounted) this.setState({ showAutoComplete: false })
  9.             }, 400)
  10.           }}
  11.         >
  12.           <Text style={{ marginLeft: 20, textAlign: 'left', color: '#9B999A', fontFamily: 'Poppins-bold' }}>{suggestion}</Text>
  13.           <Icon name='chevron-right' size={20} style={{ color: 'grey' }} />
  14.         </TouchableOpacity>
  15.       </View>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top