# rn-searchbar

> React Native search bar

Latest version **1.0.3** (published 2017-02-23) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install rn-searchbar
pnpm add rn-searchbar
yarn add rn-searchbar
bun add rn-searchbar
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2017-02-23 |
| First published | 2017-02-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Henry Paulino |
| Maintainers | corasan |
| Keywords | react-native, react-component, ios, android, search-bar |

## Links

- npm: https://www.npmjs.com/package/rn-searchbar
- Repository: https://github.com/corasan/rn-search-bar
- Homepage: https://github.com/corasan/rn-search-bar#readme
- Issues: https://github.com/corasan/rn-search-bar/issues
- npm.io page: https://npm.io/package/rn-searchbar

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 1.0.3 (latest) — 2017-02-23
- 1.0.2 — 2017-02-23
- 1.0.1 — 2017-02-23
- 1.0.0 — 2017-02-23

## README

# rn-search-bar
React Native search bar for Android and iOS

![screenshot](https://github.com/corasan/rn-search-bar/blob/master/screenshot.png)

## Installation

`npm i --save rn-searchbar`

## Usage

```javascript
import SearchBar from 'rn-searchbar';

export default class Example extends Component {
  render() {
    return (
      <View style={styles.container}>
        <SearchBar searchButton={<Text>Search</Text>} onPress={(text) => console.log(text)}/>
      </View>
    );
  }
}
```

## Props

| Props                | Type     | Description                                          |
|----------------------|----------|------------------------------------------------------|
| `searchButton`       | node     | Use whatever icon you want or text you want to use   |
| `onPress(inputText)` | function | What you want to do when you press the search button |

---
_Source: https://npm.io/package/rn-searchbar · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
