Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

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/)