{"id":16438766,"url":"https://github.com/pinguinjkeke/react-native-wheel-datepicker","last_synced_at":"2025-10-24T05:49:06.155Z","repository":{"id":26162746,"uuid":"106922615","full_name":"pinguinjkeke/react-native-wheel-datepicker","owner":"pinguinjkeke","description":"Android \u0026 iOS iOS-style Picker \u0026 DatePicker Components for ReactNative","archived":false,"fork":false,"pushed_at":"2022-07-07T07:12:17.000Z","size":683,"stargazers_count":82,"open_issues_count":29,"forks_count":78,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-09T16:19:48.931Z","etag":null,"topics":["android","crossplatform","date-picker","ios","picker","react-native","wheel"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/react-native-wheel-datepicker","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pinguinjkeke.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-14T11:33:57.000Z","updated_at":"2025-04-09T13:28:44.000Z","dependencies_parsed_at":"2022-08-07T11:16:28.175Z","dependency_job_id":null,"html_url":"https://github.com/pinguinjkeke/react-native-wheel-datepicker","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pinguinjkeke%2Freact-native-wheel-datepicker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pinguinjkeke%2Freact-native-wheel-datepicker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pinguinjkeke%2Freact-native-wheel-datepicker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pinguinjkeke%2Freact-native-wheel-datepicker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pinguinjkeke","download_url":"https://codeload.github.com/pinguinjkeke/react-native-wheel-datepicker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248065281,"owners_count":21041872,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","crossplatform","date-picker","ios","picker","react-native","wheel"],"created_at":"2024-10-11T09:06:10.207Z","updated_at":"2025-10-24T05:49:01.109Z","avatar_url":"https://github.com/pinguinjkeke.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-native-wheel-datepicker\n\nA iOS style picker and datepicker components for ReactNative.\n\n- Original repository by @lesliesam: [react-native-wheel-picker](https://github.com/lesliesam/react-native-wheel-picker).\n- Fork by @wusuopu who added the real cross platform behavior and datepicker [react-native-wheel-picker](https://github.com/wusuopu/react-native-wheel-picker).\n\nThis is the third fork of repository and its targeted to support and maintain current code. I asked github team to make it my own as is all pull requests goes directly to @lesliesam original repository but it seems to be no longer maintained.\n\n## Introduction\nCross platform Picker component for React-native.\n\nSince picker is originally supported by iOS while Android only supports a ugly Spinner component. If you want to have the same user behaviour, you can use this.\n\nThe android component is based on [wheel-picker](https://github.com/AigeStudio/WheelPicker) which runs super fast and smoothly. It also supports curved effect which make it exactly the same looking and feel as the ios picker.\n\n![](screenshots/ios1.png)\n![](screenshots/ios2.png)\n\n![](screenshots/android.png)\n\n## How to use\n\nRun command\n\nFor apps using RN 0.32 or higher, please run\n\n```\nnpm i react-native-wheel-datepicker --save\n```\n\nFor apps using RN 0.31 or less, please run\n\n```\nnpm install --save --save-exact react-native-wheel-datepicker@1.9.0\n```\n\nConfigration:\n\n```\nreact-native link react-native-wheel-datepicker\n```\n\n## Ingegration with CustomDatePickerIOS\n\nBy default, package provides default DatePickerIOS on the iOS side to simplify usage on both platforms.\n\nYou can install [react-native-custom-datepicker-ios](https://github.com/pinguinjkeke/react-native-custom-datepicker-ios) package\nif you need textColor functionality on IOS platform.\n\nJust install:\n```\nnpm i react-native-custom-datepicker-ios\n// or\nyarn add react-native-custom-datepicker-ios\n```\nlink dependencies:\n```\nreact-native link react-native-custom-datepicker-ios\n```\nAnd register CustomDatePickerIOS inside react-native-wheel-datepicker package.\n```js\nimport { registerCustomDatePickerIOS } from 'react-native-wheel-datepicker';\nimport CustomDatePickerIOS from 'react-native-custom-datepicker-ios';\n\nregisterCustomDatePickerIOS(CustomDatePickerIOS);\n```\nThen you can use textColored components for both platforms inside render function!\n```jsx\nimport { DatePicker } from 'react-native-wheel-datepicker';\n\n// ...\nrender() {\n  return (\n    \u003cDatePicker\n      mode=\"date\"\n      textColor=\"green\"\n    /\u003e\n  )\n}\n```\n\n## Example code\n\n```jsx\nimport { Picker, DatePicker } from 'react-native-wheel-datepicker';\n\n// use DatePicker\n\u003cDatePicker\n  mode=\"date\"\n/\u003e\n\n// use Picker\n\u003cPicker\n  style={{ flex: 1 }}\n  selectedValue={1}\n  pickerData={[1, 2, 3, 4, 5, 6]}\n  onValueChange={value =\u003e this.setState({ value })}\n/\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpinguinjkeke%2Freact-native-wheel-datepicker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpinguinjkeke%2Freact-native-wheel-datepicker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpinguinjkeke%2Freact-native-wheel-datepicker/lists"}