Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/react-z/react-native-search
iOS and Android native search component for react native
https://github.com/react-z/react-native-search
Last synced: 3 months ago
JSON representation
iOS and Android native search component for react native
- Host: GitHub
- URL: https://github.com/react-z/react-native-search
- Owner: react-z
- Fork: true (umhan35/react-native-search-bar)
- Created: 2015-12-11T14:02:16.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-13T12:10:02.000Z (almost 9 years ago)
- Last Synced: 2024-08-02T21:03:02.613Z (3 months ago)
- Language: Objective-C
- Homepage:
- Size: 55.7 KB
- Stars: 19
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-react-native - react-native-search ★15 - Native Search component for react native. (Components / UI)
README
# react-native-search-bar
[iOS native search bar](https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/UIKitUICatalog/UISearchBar.html) for react native.
## Installation
In your react native project, run `npm install react-native-search-bar --save`
To link this library, please follow the first two steps in the [Linking Libraries (iOS)](http://facebook.github.io/react-native/docs/linking-libraries-ios.html) guide on React Native website. The `.xcodeproj` file is in `node_modules/react-native-search-bar/`. In the end, you should have `RNSearchBar.xcodeproj` in the `Libaries` group on Xcode and `libRNSearchBar.a` in the `Link Binary With Libraries` section inside the `Build Phases` tab of your project target.
## Usage
```JSX
```
```javascript
this.refs.searchBar.focus();
```There is an example project in the [SearchBarExample](SearchBarExample) directory.
## License
[MIT](http://isekivacenz.mit-license.org/)