Skip to content

Commit

Permalink
TextInput is more customizable and available for all use-cases (I hop…
Browse files Browse the repository at this point in the history
…e :D)
  • Loading branch information
WrathChaos committed Dec 24, 2019
1 parent a2a9892 commit 5da7f36
Show file tree
Hide file tree
Showing 13 changed files with 5 additions and 338 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ apply from: "../../node_modules/react-native-vector-icons/fonts.gradle"
-> You need to enable experimental LayoutAnimation on the android. Here is how to do it:

```js
import {UIManager} from 'react-native';
import { UIManager } from 'react-native';

constructor() {
super();
Expand Down
3 changes: 1 addition & 2 deletions example/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@ import {
SafeAreaView,
LayoutAnimation
} from "react-native";
import SearchBar from "./lib/src/SearchBar";
import { LineChart } from "react-native-svg-charts";
import SearchBar from "react-native-dynamic-search-bar";
import GradientCard from "react-native-gradient-card-view";
// import SearchBar from "react-native-dynamic-search-bar";
import { ScreenWidth } from "@freakycoder/react-native-helpers";
import { CustomLayoutSpring } from "react-native-animation-layout";
// Static Data
Expand Down
118 changes: 0 additions & 118 deletions example/lib/src/SearchBar.js

This file was deleted.

80 changes: 0 additions & 80 deletions example/lib/src/SearchBar.style.js

This file was deleted.

40 changes: 0 additions & 40 deletions example/lib/src/components/SearchCancel.js

This file was deleted.

31 changes: 0 additions & 31 deletions example/lib/src/components/SearchIcon.js

This file was deleted.

28 changes: 0 additions & 28 deletions example/lib/src/components/SearchTextInput.js

This file was deleted.

11 changes: 0 additions & 11 deletions example/lib/src/components/styles/SearchCancel.style.js

This file was deleted.

7 changes: 0 additions & 7 deletions example/lib/src/components/styles/SearchIcon.style.js

This file was deleted.

16 changes: 0 additions & 16 deletions example/lib/src/components/styles/SearchTextInput.style.js

This file was deleted.

2 changes: 1 addition & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"react-native": "0.61.5",
"@freakycoder/react-native-helpers": "^0.1.0",
"react-native-animation-layout": "0.0.13",
"react-native-dynamic-search-bar": "0.2.1",
"react-native-dynamic-search-bar": "0.3.1",
"react-native-dynamic-vector-icons": "0.2.1",
"react-native-fast-image": "^7.0.2",
"react-native-gradient-card-view": "0.1.0",
Expand Down
3 changes: 1 addition & 2 deletions lib/src/SearchBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,9 @@ export default class SearchBar extends Component {
autoFocus={autoFocus}
value={textInputValue}
placeholder={placeholder}
onChangeText={onChangeText}
placeholderTextColor={fontColor}
onSubmitEditing={onSubmitEditing}
style={[textInputStyle(fontSize, fontColor)]}
{...this.props}
/>
</View>
))
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-dynamic-search-bar",
"version": "0.3.0",
"version": "0.3.1",
"description": "Fully customizable and dynamic Search Bar for React Native.",
"keywords": [
"gradient",
Expand Down

0 comments on commit 5da7f36

Please sign in to comment.