react-native-navigation-search-bar
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -1,3 +0,6 @@ | ||
import SearchBar from "./SearchBar"; | ||
/** | ||
* @author Luke Brandon Farrell | ||
* @description Exports our search bar as a named export | ||
*/ | ||
export { SearchBar }; | ||
export * from "./RNNSearchBar"; |
{ | ||
"name": "react-native-navigation-search-bar", | ||
"version": "1.0.2", | ||
"description": "", | ||
"version": "1.0.3", | ||
"description": "React Native Navigation Search Bar with Collapsible Header 🤔It's that simple!", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"test": "echo \"Error: no test specified\"" | ||
}, | ||
"author": "", | ||
"license": "ISC" | ||
"keywords": [ | ||
"react-native-navigation", | ||
"react-native-elements", | ||
"search-bar", | ||
"react-native", | ||
"collapse header" | ||
], | ||
"author": "Luke Brandon Farrell", | ||
"license": "MIT", | ||
"dependencies": { | ||
"react-native-elements": "^1.2.7" | ||
} | ||
} |
@@ -1,5 +0,37 @@ | ||
# react-native-navigation-layouts | ||
<h1 align="center"> | ||
<img src="https://github.com/lukebrandonfarrell/react-native-navigation-search-bar/blob/master/example%231.gif?raw=true"/><br/> | ||
React Native Navigation Search Bar | ||
</h1> | ||
NOTICE: This library is not ready for production. Use at your own discretion. | ||
A searcbar for [React Native Navigation](https://github.com/wix/react-native-navigation) which collapses the header when focussed. It's that simple! | ||
## Install | ||
```sh | ||
npm install react-native-navigation-drawer-extension --save | ||
``` | ||
or | ||
```sh | ||
yarn add react-native-navigation-drawer-extension | ||
``` | ||
## Usage | ||
This component wraps the react-native-elements [<SearchBar />](https://react-native-elements.github.io/react-native-elements/docs/searchbar.html) with extra functionality for React Native Navigation. | ||
```js | ||
import { SearchBar } from "react-native-navigation-search-bar"; | ||
// register our drawer component with RNN | ||
<SearchBar | ||
componentId={componentId} // <-- RNN component id | ||
statusBarHeight={statusBarHeight} // <-- prop status bar height | ||
search={...} | ||
onChangeText={...} | ||
/> | ||
``` | ||
## Authors | ||
@@ -11,2 +43,2 @@ | ||
This project is licensed under the MIT License# react-native-navigation-search-bar | ||
This project is licensed under the MIT License |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
193226
5
161
1
44
1
1
+ Addedreact-native-elements@^1.2.7
+ Added@types/prop-types@15.7.12(transitive)
+ Added@types/react@18.3.2(transitive)
+ Added@types/react-native@0.70.19(transitive)
+ Added@types/react-native-vector-icons@6.4.18(transitive)
+ Addedansi-regex@5.0.1(transitive)
+ Addedansi-styles@4.3.0(transitive)
+ Addedcliui@7.0.4(transitive)
+ Addedcolor@3.2.1(transitive)
+ Addedcolor-convert@1.9.32.0.1(transitive)
+ Addedcolor-name@1.1.31.1.4(transitive)
+ Addedcolor-string@1.9.1(transitive)
+ Addedcsstype@3.1.3(transitive)
+ Addeddeepmerge@3.3.0(transitive)
+ Addedemoji-regex@8.0.0(transitive)
+ Addedescalade@3.1.2(transitive)
+ Addedget-caller-file@2.0.5(transitive)
+ Addedhoist-non-react-statics@3.3.2(transitive)
+ Addedis-arrayish@0.3.2(transitive)
+ Addedis-fullwidth-code-point@3.0.0(transitive)
+ Addedjs-tokens@4.0.0(transitive)
+ Addedlodash@4.17.21(transitive)
+ Addedloose-envify@1.4.0(transitive)
+ Addedobject-assign@4.1.1(transitive)
+ Addedopencollective-postinstall@2.0.3(transitive)
+ Addedprop-types@15.8.1(transitive)
+ Addedreact@16.14.0(transitive)
+ Addedreact-is@16.13.1(transitive)
+ Addedreact-native-elements@1.2.7(transitive)
+ Addedreact-native-ratings@6.5.0(transitive)
+ Addedreact-native-status-bar-height@2.6.0(transitive)
+ Addedreact-native-vector-icons@10.1.0(transitive)
+ Addedrequire-directory@2.1.1(transitive)
+ Addedsimple-swizzle@0.2.2(transitive)
+ Addedstring-width@4.2.3(transitive)
+ Addedstrip-ansi@6.0.1(transitive)
+ Addedwrap-ansi@7.0.0(transitive)
+ Addedy18n@5.0.8(transitive)
+ Addedyargs@16.2.0(transitive)
+ Addedyargs-parser@20.2.9(transitive)