Skip to content

Commit

Permalink
Merge pull request #3865 from JaweedVenturedive/search-bar-ios-icon-fix
Browse files Browse the repository at this point in the history
fix(SearchBar): fixed iOS search bar icons issue
  • Loading branch information
khushal87 committed Dec 27, 2023
2 parents 0c852bf + 9925c4e commit 43d1587
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/base/src/SearchBar/SearchBar-ios.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ export type { SearchBarIosProps };
const defaultSearchIcon = (theme: Theme) => ({
type: 'ionicon',
size: 20,
name: 'ios-search',
name: 'search',
color: theme?.colors?.platform?.ios?.grey,
});

const defaultClearIcon = (theme: Theme) => ({
type: 'ionicon',
name: 'ios-close-circle',
name: 'close-circle',
size: 20,
color: theme?.colors?.platform?.ios?.grey,
});
Expand All @@ -49,8 +49,8 @@ export class SearchBarIOS extends Component<SearchBarIosProps, SearchBarState> {
onFocus: () => null,
onBlur: () => null,
onChangeText: () => null,
searchIcon: { name: 'ios-search' },
clearIcon: { name: 'ios-close-circle' },
searchIcon: { name: 'search' },
clearIcon: { name: 'close-circle' },
showCancel: false,
};

Expand Down

0 comments on commit 43d1587

Please sign in to comment.