1.0.9 • Published 1 year ago

react-native-basic-dropdown v1.0.9

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

A customizable dropdown picker component for React Native, designed to be lightweight and easy to use. The CustomPicker component supports dynamic item lists, custom placeholder text, and a title display. Ideal for applications requiring quick, responsive selection options with a sleek interface. Built with TypeScript for strong type-checking and enhanced development experience.

Features:

  • Customizable Items: Display a list of selectable items with labels.
  • Placeholder & Title: Define a placeholder and title for clear UI guidance.
  • Smooth Dropdown Toggle: Built-in animations with a chevron icon to indicate dropdown state.
  • Scroll Support: List of options supports smooth scrolling, ideal for longer item lists
  • TypeScript Ready: Strong typing ensures easier integration and fewer runtime errors.

Installation:

npm install custom-picker-component

Usage:

import CustomPicker from 'custom-picker-component';

<CustomPicker
  title="Select an Option"
  placeholder="Choose..."
  items={[{ label: 'Option 1', value: '1' }, { label: 'Option 2', value: '2' }]}
  onChangeItem={(item) => console.log('Selected item:', item)}
/>
1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago