🚀 DAY 1 OF LAUNCH WEEK: Reachability for Ruby Now in Beta.Learn more →
Socket
Book a DemoInstallSign in
Socket

react-native-dropdown-listpicker

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-dropdown-listpicker

Seacrchable and fully customizable Muti-purpose dropdown menu for react native

latest
Source
npmnpm
Version
1.1.4
Version published
Maintainers
1
Created
Source

react-native-dropdown-menu

Seacrchable and fully customizable Muti-purpose dropdown menu for react native

Screenshot Screenshot

Install package

npm i react-native-dropdown-listpicker

Import Component

import DropdownMenu from 'react-native-dropdown-menu';

Example

This component can be used as it is without any customization, just import and use

clone Example

Props

PropsTypeDescription
ItemProps{ label: string; value: string / ItemProps[] }Display item as badge with scroll
showMultipleAsBadgebooleanDisplay item as badge with scroll
dataItemProps[]List data (support only upto 1 sub-level)
mode?string'MODAL'
badgeBackgroundColor?string[]color for badges
DropDownContainerStyle?ViewStylePicker container style
DropdownListStyle?ViewStyledrop down List container style
ListStyle?ViewStyleList container style
ListLabelStyle?TextStyleList text style
markedIconStyle?TextStyle / ViewStylestyle for marked icon
selectedItemBadgeStyle?ViewStyleBadge style
selectedItemBadgeLabelStyle?TextStyleBadge item text style
selectedItemBadgeCloseIconStyle?TextStyle / ViewStyleBadge close icon text style
selectedtextStyleTextStylestyle for selected text
scrollable?booleanenable/disbale scroll
searchable?booleanenable/disable search bar
listItemLeftIconComp?JSX.Element / undefinedList left icon
ListItemSelectedIconComp?JSX.Element / undefinedchecked icon for list item
sublistItemLeftIconComp?JSX.Element / undefinedList left icon for sublist
dropdownIndicator?string'arrow' / 'plus'
onSelected(item: string[]) => voidfunction to get the selected item
placeholder?stringplaceholder for picker
HideSelectionTextStyle?TextStyleHide selection button label style

For Pull Issues

https://github.com/faccon/react-native-dropdown-listpicker/issues

Keywords

customizable

FAQs

Package last updated on 06 Jan 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