npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

react-native-dropdown-listpicker

v1.1.4

Published

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

Downloads

56

Readme

react-native-dropdown-menu

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

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

| Props | Type | Description
| --------------------------------- | ------------------------- | --------------------------------------- | | ItemProps | { label: string; value: string / ItemProps[] } | Display item as badge with scroll | | showMultipleAsBadge | boolean | Display item as badge with scroll | | data | ItemProps[] | List data (support only upto 1 sub-level) | | mode? | string | 'MODAL' | 'UNDERLAY' | | badgeBackgroundColor? | string[] | color for badges | | DropDownContainerStyle? | ViewStyle | Picker container style | | DropdownListStyle? | ViewStyle | drop down List container style | | ListStyle? | ViewStyle | List container style | | ListLabelStyle? | TextStyle | List text style | | markedIconStyle? | TextStyle / ViewStyle | style for marked icon | | selectedItemBadgeStyle? | ViewStyle | Badge style | | selectedItemBadgeLabelStyle? | TextStyle | Badge item text style | | selectedItemBadgeCloseIconStyle? | TextStyle / ViewStyle | Badge close icon text style | | selectedtextStyle | TextStyle | style for selected text | | scrollable? | boolean | enable/disbale scroll | | searchable? | boolean | enable/disable search bar | | listItemLeftIconComp? | JSX.Element / undefined | List left icon |
| ListItemSelectedIconComp? | JSX.Element / undefined | checked icon for list item | | sublistItemLeftIconComp? | JSX.Element / undefined | List left icon for sublist | | dropdownIndicator? | string | 'arrow' / 'plus' | | onSelected | (item: string[]) => void | function to get the selected item | | placeholder? | string | placeholder for picker | | HideSelectionTextStyle? | TextStyle | Hide selection button label style |

For Pull Issues

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