Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-native-paper-select

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-paper-select

Material Design Select Dropdown Component using React Native Paper

  • 0.3.9
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4.5K
decreased by-0.62%
Maintainers
1
Weekly downloads
 
Created
Source

React Native Paper Select 🔽

Featured on Openbase kandi X-Ray Version Dependency Status License Package Quality

  • This module includes a customizable multi-select and a single select component for React Native Paper.
  • The package is both Android and iOS compatible.
  • The package is well-typed and supports TypeScript.
  • Smooth and fast.
  • Type-safe

Give us a GitHub star 🌟, if you found this package useful. GitHub stars

Enjoying react-native-paper-select? Please leave a short review on Openbase

Check out the new Documentation.

Go to Customizable Properties

Check out the Example code or you can check the example source code in example module.

React Native Paper Select (NPM Link)

Demo/Screenshots

React Native Paper Select React Native Paper Select React Native Paper Select React Native Paper Select React Native Paper Select

Dependencies

react-native-paper
react-native-vector-icons

Installation

npm install react-native-paper-select

or

yarn add react-native-paper-select

Customization Options

The table consists of 5 columns. Please go through the table properly.

propstypedescriptiondefault valuerequired
  labelstringInput Labelset to empty string if you don’t want to displayyes
  arrayListArray<{  _id: string; value: string;}>Array of items. Should be an array of objects with _id and value property.example: [{"_id": 1, "value": "Red"}].there isn't any default value you need to specify a list.yes
  selectedArrayListArray<{  _id: string; value: string;}>selected elements or preselected elementsset empty array as defaultyes
  multiEnablebooleantrue if you want to use multi select, false if you want single selectno default valueyes
  errorTextstringtext to display on errorset to empty string as defaultyes
  valuestringdefault value you want to displaybind it with your variableyes
  selectAllEnablebooleanif multiEnable is true it display the select all option in the first position of the listtrueno
  selectAllTextstringthis string will be the text of the select all option in the first position of the list if multiEnable and selectAllEnable is trueSelect Allno
  containerStyleViewStyleSurrounding container styleno default valueno
  dialogStyle{backgroundColor?: ViewStyle['backgroundColor']; borderRadius?: ViewStyle['borderRadius'];}dialog box style{backgroundColor:'white', borderRadius: 5}no
  dialogTitlestringtitle shown in the dialogdefaults to the value of labelno
  dialogTitleStyleTextStyledialog box title styledefault react native paper styleno
  searchStyle{backgroundColor?: ViewStyle['backgroundColor']; textColor?: TextStyle['color']; borderRadius?: number; borderColor?: ViewStyle['borderColor']; iconColor?: string;}search bar style in dialog box{borderRadius:5, borderColor:'#e5e5e5', backgroundColor: '#e5e5e5', color: '#000'}no
  disabledbooleanwhether the input (and dialog) are disabled and cannot be openedfalseno
  checkboxUncheckedColorstringcheckbox unchecked color#000007no
  checkboxColorstringcheckbox checked colorblueno
  checkboxLabelStyleTextStylecheckbox label styledefault react native paper styleno
  errorStyleTextStyleerror styledefault react native paper styleno
  textInputModeflat or outlinedinput style flat or outlinedoutlinedno
  underlineColorstringunderline color (if input mode is flat)blackno
  activeUnderlineColorstringactive underline color (if input mode is flat)blackno
  activeOutlineColorstringactive border color (if input mode is outlined)blackno
  outlineColorstringborder color (if input mode is outlined)blackno
  textInputBackgroundColorstringtext input background colorwhiteno
  textInputColorstringtext input text colorblackno
  textInputHeightnumbertext input heightdefault react native paper styleno
  textInputStyleTextStyletext input text styledefault react native paper styleno
  dialogButtonLabelStyleTextStyledialog button styledefault react native paper styleno
  hideSearchBoxbooleanhide searchbox in modalfalseno
  searchPlaceholderstringsearch placeholderSearchno
  modalCloseButtonTextstringClose button text in modalCloseno
  modalDoneButtonTextstringDone button text in modalDoneno
  theme{colors: {placeholder: string}}Change color of placeholder/label (ref: Issue#9)React Native Paper Defaultno

Try it out

You can run the example module by performing these steps:

git clone https://github.com/srivastavaanurag79/react-native-paper-select.git
cd react-native-paper-select && cd example
npm install
cd ios && pod install && cd ..
react-native run-ios
react-native run-android

Author

Contributors

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

Keywords

FAQs

Package last updated on 24 Nov 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc