ordering-ui-react-native 0.16.72 → 0.16.73

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ordering-ui-react-native",
3
- "version": "0.16.72",
3
+ "version": "0.16.73",
4
4
  "description": "Reusable components made in react native",
5
5
  "main": "src/index.tsx",
6
6
  "author": "ordering.inc",
@@ -465,26 +465,14 @@ const BusinessesListingUI = (props: BusinessesListingParams) => {
465
465
  </OrderTypesContainer>
466
466
  )}
467
467
  {!businessId && (
468
- <SearchBar
469
- forwardRef={searchBarRef}
470
- onSearch={handleChangeSearch}
471
- searchValue={searchValue}
472
- lazyLoad
473
- hideIcon
474
- isCancelXButtonShow={!!searchValue}
475
- onCancel={() => handleChangeSearch('')}
476
- placeholder={t('SEARCH', 'Search')}
477
- height={50}
478
- isDisabled={true}
479
- inputContainerStyles={styles.inputContainerStyles}
480
- containerStyles={{
481
- marginHorizontal: 40,
482
- marginTop: 20
483
- }}
484
- inputStyle={{ ...styles.searchInput, ...Platform.OS === 'ios' ? { paddingBottom: 6 } : { paddingBottom: 4 } }}
485
- onPress={() => { navigation.navigate('BusinessSearch', { businessTypes }) }}
486
- onSubmitEditing={() => { navigation.navigate('BusinessSearch', { businessTypes, defaultTerm: searchValue }) }}
487
- />
468
+ <View style={{ marginTop: 20 }}>
469
+ <OButton
470
+ onClick={() => navigation.navigate('BusinessSearch', { businessTypes })}
471
+ text={t('SEARCH', 'Search')}
472
+ style={styles?.buttonCityStyle}
473
+ textStyle={{ color: theme.colors.textSecondary, fontSize: 16 }}
474
+ />
475
+ </View>
488
476
  )}
489
477
 
490
478
  {!hideCities && (