1.0.7 • Published 5 months ago

react-beautiful-wheel-picker v1.0.7

Weekly downloads
-
License
MIT
Repository
-
Last release
5 months ago

React Beautiful Wheel Picker

npm version react version tailwindcss version

A highly customizable and user-friendly wheel picker component for React applications.

Check out the live Demo Project to see the React Beautiful Wheel Picker in action and explore its features!

React Beautiful Wheel Picker Demo

To install the React Beautiful Wheel Picker, run the following command:

npm install react-beautiful-wheel-picker

Usage

import { Picker } from "react-beautiful-wheel-picker";

<Picker>
  <Picker.Item values={[]} />
</Picker>;

Props

Picker.Item

PropTypeDefaultDescription
valuesPickerItem[][]The items to display in the picker.
defaultValueany""The default value of the picker.
onChange(value: any) => void() => {}The callback function that is called when the value changes.

Picker

PropTypeDefaultDescription
childrenReact.ReactNodenullThe children of the picker.
classNamestring""The className of the picker.
containerClassNamestring""The className of the container of the picker.
selectedHighlightClassNamestring""The className of the selected highlight of the picker.
overlayClassNamestring""The className of the overlay of the picker.

License

This project is licensed under the MIT License.

1.0.7

5 months ago

1.0.6

5 months ago

1.0.5

5 months ago

1.0.4

5 months ago

1.0.3

5 months ago

1.0.2

5 months ago

1.0.1

5 months ago

1.0.0

5 months ago