1.0.9 • Published 10 months ago

react-native-basic-dropdown v1.0.9

Weekly downloads
-
License
ISC
Repository
github
Last release
10 months 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

10 months ago

1.0.8

10 months ago

1.0.7

10 months ago

1.0.6

10 months ago

1.0.5

10 months ago

1.0.3

10 months ago

1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago