{"id":18743301,"url":"https://github.com/rimiti/react-native-pickerise","last_synced_at":"2025-07-30T06:10:10.470Z","repository":{"id":57339154,"uuid":"108312315","full_name":"rimiti/react-native-pickerise","owner":"rimiti","description":":iphone: React Native cross-plateform (iOS / Android) modal picker/selector highly customizable.","archived":false,"fork":false,"pushed_at":"2018-09-19T01:40:15.000Z","size":835,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-05-01T13:28:52.770Z","etag":null,"topics":["choice","modal","option","picker","popup","react","react-native","select","selector"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rimiti.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-25T18:53:16.000Z","updated_at":"2021-06-05T13:20:47.000Z","dependencies_parsed_at":"2022-09-01T20:33:38.748Z","dependency_job_id":null,"html_url":"https://github.com/rimiti/react-native-pickerise","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rimiti%2Freact-native-pickerise","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rimiti%2Freact-native-pickerise/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rimiti%2Freact-native-pickerise/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rimiti%2Freact-native-pickerise/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rimiti","download_url":"https://codeload.github.com/rimiti/react-native-pickerise/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248635983,"owners_count":21137348,"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":["choice","modal","option","picker","popup","react","react-native","select","selector"],"created_at":"2024-11-07T16:10:59.279Z","updated_at":"2025-04-12T21:32:16.525Z","avatar_url":"https://github.com/rimiti.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-native-pickerise\n\n[![Dependencies][prod-dependencies-badge]][prod-dependencies]\n[![Dependencies][dev-dependencies-badge]][dev-dependencies]\n[![Code Climate score][codeclimate-score-badge]][codeclimate-score]\n[![Coveralls][coveralls-coverage-badge]][coveralls-coverage]\n[![Code Climate coverage][codeclimate-issues-badge]][codeclimate-issues]\n[![Node.js version][nodejs-badge]][nodejs]\n[![NPM version][npm-badge]][npm]\n[![Build Status][travis-badge]][travis-ci]\n[![Security version][security-version-badge]][security-version]\n[![MIT License][license-badge]][LICENSE]\n[![PRs Welcome][prs-badge]][prs]\n\n\n## Description\n\nReact Native cross-plateform (iOS/Android) modal picker/selector highly customizable.\n\n## Install\n\n```\n$ npm install @rimiti/react-native-pickerise --save\n```\n\n## Demo\n\n# [![react-native-pickerise](demo/android.gif)](https://github.com/rimiti/react-native-pickerise)\n\n## Examples \n\n```\nimport React, {Component} from 'react';\nimport {StyleSheet} from 'react-native';\nimport Pickerise from '@rimiti/react-native-pickerise';\n\nexport default class Example extends Component {\n\tconstructor(props) {\n\t\tsuper(props);\n\t}\n\n\trender() {\n\t\tconst items = [\n\t\t\t{ section: true, label: 'Cars' }, { label: 'Audi' }, { label: 'Dodge' }, { label: 'Ford' }, { label: 'Renault' },\n\t\t\t{ section: true, label: 'Bikes' }, { label: 'Kawasaki' }, { label: 'Suzuki' }, { label: 'Triumph' }\n\t\t];\n\t\t\n\t\treturn (\n\t\t\t\u003cPickerise\n\t\t\t\titemsContainerStyle={styles.itemsContainerStyle}\n\t\t\t\titemsChildStyle={styles.itemsChildStyle}\n\t\t\t\titemStyle={styles.itemStyle}\n\t\t\t\titemTextStyle={styles.itemTextStyle}\n\t\t\t\tselectTextStyle={styles.selectTextStyle}\n\t\t\t\tselectStyle={styles.selectStyle}\n\t\t\t\tsectionStyle={styles.sectionStyle}\n\t\t\t\tsectionTextStyle={styles.sectionTextStyle}\n\t\t\t\tcancelStyle={styles.cancelStyle}\n\t\t\t\tcancelTextStyle={styles.cancelTextStyle}\n\t\t\t\titems={items}\n\t\t\t\tinitValue=\"Select\"\n\t\t\t\tcancelText=\"Cancel\"\n\t\t\t\tonChange={(item) =\u003e console.log(`You chose ${item.label}`)} /\u003e\n\t\t)\n\t}\n}\n\nconst styles = StyleSheet.create({\n\titemsContainerStyle: {\n\t\tborderRadius: 0,\n\t\tbackgroundColor: 'transparent',\n\t\tmarginBottom: 30,\n\t\tpadding: 0,\n\t},\n\titemsChildStyle: {\n\t\tpaddingHorizontal: 0\n\t},\n\titemStyle: {\n\t\tmarginTop: 10,\n\t\tbackgroundColor: '#919191',\n\t\tborderBottomColor: 'transparent',\n\t},\n\titemTextStyle: {\n\t\tcolor: '#fff',\n\t\tfontSize: 18,\n\t},\n\tselectTextStyle: {\n\t\tcolor: '#000',\n\t\tfontSize: 20,\n\t},\n\tselectStyle: {\n\t\tborderWidth: 0,\n\t\tpaddingTop: 21,\n\t\tpaddingLeft: 0,\n\t},\n\tsectionStyle: {\n\t\tborderRadius: 0,\n\t},\n\tsectionTextStyle: {\n\t\tfontSize: 20,\n\t\tcolor: '#fff',\n\t},\n\tcancelStyle: {\n\t\tbackgroundColor: '#22A7F0',\n\t\tpaddingVertical: 20,\n\t\talignItems: 'center',\n\t\tjustifyContent: 'center',\n\t\tmarginBottom: 15,\n\t\tborderRadius: 0,\n\t},\n\tcancelTextStyle: {\n\t\tcolor: \"#FFF\",\n\t\tfontSize: 18,\n\t},\n});\n\n```\n\n## Documentation\n\n```\nProps                     Type                  Description                                                 Usage\n----------------------------------------------------------------------------------------------------------------------\nitems                     {array of objects}    With a unique key and label\nonChange                  {function}            Callback function, when the users has selected an item      (optional)\ninitValue                 {string}              Text that is initially shown on the button                  (optional)\ncancelText                {string}              Text of the cancel button                                   (optional)\nstyle                     {object}              Style definitions for the global element                    (optional)\nitemsContainerStyle       {object}              Style definitions for the items container element           (optional)\nitemsContainerChildStyle  {object}              Style definitions for the itemsChild element                (optional)\nselectStyle               {object}              Style definitions for the select element                    (optional)\nitemStyle                 {object}              Style definitions for the item element                      (optional)\ncancelStyle               {object}              Style definitions for the cancel element                    (optional)\nsectionStyle              {object}              Style definitions for the section element                   (optional)\noverlayStyle              {object}              Style definitions for the overlay element                   (optional)\nitemTextStyle             {object}              Style definitions for the item text element                 (optional)\nsectionTextStyle          {object}              Style definitions for the section text element              (optional)\ncancelTextStyle           {object}              Style definitions for the cancel text element               (optional)\nselectTextStyle           {object}              Style definitions for the select text element               (optional)\nmodalAnimationType        {none, slide, fade}   Modal animation type                                        (optional)\nmodalTransparent          {bool}                If true render the modal with transparent background        (optional)\n```\n\n## Scripts\n\nRun using npm run \u003cscript\u003e command.\n\n    clean - remove coverage data, Jest cache and transpiled files,\n    lint - lint source files and tests,\n    test - lint, typecheck and run tests with coverage,\n    test-only - run tests with coverage,\n    test:watch - interactive watch mode to automatically re-run tests,\n    build - compile source files,\n    build:watch - interactive watch mode, compile sources on change.\n\n\n## License\nMIT © [Dimitri DO BAIRRO](https://github.com/rimiti/react-native-pickerise/blob/master/LICENSE)\n\n[prod-dependencies-badge]: https://david-dm.org/rimiti/react-native-pickerise/status.svg\n[prod-dependencies]: https://david-dm.org/rimiti/react-native-pickerise\n[dev-dependencies-badge]: https://david-dm.org/rimiti/react-native-pickerise/dev-status.svg\n[dev-dependencies]: https://david-dm.org/rimiti/react-native-pickerise?type=dev\n[security-version-badge]: https://nodesecurity.io/orgs/dim-solution/projects/d7cd94b1-ac5e-45d8-a6af-d2847538a059/badge\n[security-version]: https://nodesecurity.io/orgs/dim-solution/projects/d7cd94b1-ac5e-45d8-a6af-d2847538a059\n[codeclimate-score-badge]: https://api.codeclimate.com/v1/badges/7951ca62e66be94eba69/maintainability\n[codeclimate-score]: https://codeclimate.com/github/rimiti/react-native-pickerise/maintainability\n[coveralls-coverage-badge]: https://coveralls.io/repos/github/rimiti/react-native-pickerise/badge.svg\n[coveralls-coverage]: https://coveralls.io/github/rimiti/react-native-pickerise\n[codeclimate-issues-badge]: https://codeclimate.com/github/rimiti/react-native-pickerise/badges/issue_count.svg\n[codeclimate-issues]: https://codeclimate.com/github/rimiti/react-native-pickerise\n[nodejs-badge]: https://img.shields.io/badge/node-\u003e=%206.9.0-blue.svg?style=flat-square\n[nodejs]: https://nodejs.org/dist/latest-v6.x/docs/api/\n[npm-badge]: https://img.shields.io/badge/npm-\u003e=%203.10.8-blue.svg?style=flat-square\n[npm]: https://docs.npmjs.com/\n[travis-badge]: https://travis-ci.org/rimiti/react-native-pickerise.svg?branch=master\n[travis-ci]: https://travis-ci.org/rimiti/react-native-pickerise\n[license-badge]: https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square\n[license]: https://github.com/rimiti/react-native-pickerise/blob/master/LICENSE\n[prs-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square\n[prs]: http://makeapullrequest.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frimiti%2Freact-native-pickerise","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frimiti%2Freact-native-pickerise","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frimiti%2Freact-native-pickerise/lists"}