0.0.3 • Published 4 years ago

react-native-search-button-bar v0.0.3

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

Battle Tested ✅

Installation

Add the dependency:

npm i react-native-search-button-bar

Peer Dependencies

IMPORTANT! You need install them
"react": ">= 16.x.x",
"react-native": ">= 0.55.x",

Usage

Import

import SearchBar from "react-native-search-button-bar";

Component1 Usage

<SearchBar />

Configuration - Props

PropertyTypeDefaultDescription
widthstring OR numberScreenWidth * 0.9change the width of the header outline
heightstring OR number50change the height of the header
borderWidthnumber1change the border width
borderColorstring#872d8dchange the border color
placeholderstringSearch something..set your own placeholder string
searchImageSourceimageimageset your own image
closeImageSourceimageimageset your own image
backgroundColorstringtransparentchange the background color
shadowColorstring#757575change the shadowColor
shadowRadiusstring10change the shadowRadius
onChangeTextfunctionnullset your own function
onCancelfunctionnullset your own function

Future Plans

  • LICENSE

Change Log

Change log will be here !

Author

Şevval Eygül sevvalleygull@gmail.com

License

React Native Library Boilerplate is available under the MIT license. See the LICENSE file for more info.