Skip to content

Commit

Permalink
New version 0.1.7: onFocus for SearchBox
Browse files Browse the repository at this point in the history
  • Loading branch information
WrathChaos committed Dec 19, 2019
1 parent 8dff8a7 commit e3fd13f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions lib/src/components/SearchBox/SearchBox.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import styles, { searchBoxContainer } from "./SearchBox.style";

const SearchBox = props => {
const {
onFocus,
iconName,
iconType,
iconSize,
Expand All @@ -25,6 +26,7 @@ const SearchBox = props => {
return <Text style={styles.searchBoxTextStyle}>{searchBoxText}</Text>;
return (
<TextInput
onFocus={onFocus}
onChangeText={onChangeText}
placeholder={searchBoxText}
style={styles.searchBoxTextStyle}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-header-search-bar",
"version": "0.1.6",
"version": "0.1.7",
"description": "Fully customizable header search bar for React Native",
"keywords": [
"header",
Expand Down

0 comments on commit e3fd13f

Please sign in to comment.