react-native-elements icon indicating copy to clipboard operation
react-native-elements copied to clipboard

Search bar no longer working

Open elie222 opened this issue 10 years ago • 3 comments

This code:

      <SearchBar
        lightTheme
        onChangeText={onChangeSearchText}
        placeholder="Search Players..."
      />

Is causing this crash: screen shot 2016-10-02 at 3 41 11 am

elie222 avatar Oct 02 '16 00:10 elie222

The issue is that SearchBar isn't being exported from this package although I don't know why. The code seems fine

elie222 avatar Oct 02 '16 00:10 elie222

I encountered the issue too and resolved it by using another name instead of SearchBar. If I use something likeimport { SearchBar as _SearchBar } from 'react-native-elements', it's working pretty well!

michelre avatar Oct 29 '16 21:10 michelre

Just pushed a new release and this is fixed, thanks for the feedback and pointing this out! Best.

dabit3 avatar Nov 07 '16 16:11 dabit3