react-native-spinner-datepicker
v1.0.4
Published
- A react native custom component of dynamic spinner Datepicker, with initial date and animated scroll to it's position. the spinner is implemented as 3 animated wheels effect.
Downloads
7
Maintainers
Readme
A react native custom component of dynamic spinner Datepicker, with initial date and animated scroll to it's position. the spinner is implemented as 3 animated wheels effect.
It comes with a built-in TypeScript typings and is compatible with all popular JavaScript frameworks including React , Vue , Svelte , and Angular . You can use RN-Animated-Donut-Chart directly or leverage well-maintained wrapper packages that allow for a more native integration with your frameworks of choice.
examples:
How to use:
<SpinnerDatePicker
initialDate={new Date()}
onSelectedDate={date => {
console.log(date.toUTCString());
}}
/>
Dataset Properties
| Name | Type | Default | | -------------- | -------------------- | ------- | | height | number | | onSelectedDate | (date: Date) => void | | initialDate | Date |