{"id":18063287,"url":"https://github.com/danielweinmann/react-native-controlled-picker","last_synced_at":"2025-10-12T20:36:43.133Z","repository":{"id":57336261,"uuid":"115863088","full_name":"danielweinmann/react-native-controlled-picker","owner":"danielweinmann","description":"A 100% controlled and declarative Picker for React Native","archived":false,"fork":false,"pushed_at":"2018-01-01T15:07:00.000Z","size":117,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-11T08:48:19.096Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/danielweinmann.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-12-31T12:56:26.000Z","updated_at":"2018-06-04T09:35:51.000Z","dependencies_parsed_at":"2022-09-11T12:21:06.921Z","dependency_job_id":null,"html_url":"https://github.com/danielweinmann/react-native-controlled-picker","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielweinmann%2Freact-native-controlled-picker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielweinmann%2Freact-native-controlled-picker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielweinmann%2Freact-native-controlled-picker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielweinmann%2Freact-native-controlled-picker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielweinmann","download_url":"https://codeload.github.com/danielweinmann/react-native-controlled-picker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247340659,"owners_count":20923299,"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":[],"created_at":"2024-10-31T05:10:30.620Z","updated_at":"2025-10-12T20:36:38.103Z","avatar_url":"https://github.com/danielweinmann.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-native-controlled-picker\nA 100% controlled and declarative Picker for React Native\n\n## Installation\n\n```yarn add react-native-controlled-picker```\n\nor\n\n```npm install react-native-controlled-picker --save```\n\n## Examples\n\n### Simplest example\n\n[Run this example on Expo](https://exp.host/@danielweinmann/react-native-controlled-picker-simplest)\n\n[Read the source code](examples/simplest/App.js)\n\n### Styled example\n\n[Run this example on Expo](https://exp.host/@danielweinmann/react-native-controlled-picker-styled)\n\n[Read the source code](examples/styled/App.js)\n\n## Props\n\n| Property | Type | Default | Description |\n|---------------|----------|--------------|----------------------------------------------------------------|\n| open | boolean | `false` | Whether the items modal is open or not |\n| items | array of objects | `[]` | Array of objects with `label` and `value` keys |\n| value | any | `null` | The value of the current selected item |\n| placeholder | any | `'Please select...'` | Text to be displayed when there's no selected item |\n| onPress | function | | Function to be called when the user clicks on the picker |\n| onChange | function | | Function to be called when the user selects an item |\n| onClose | function | | Function to be called when the user request to close the modal |\n| style | function | `{}` | Additional style for the picker's container view |\n| textStyle | function | `{}` | Additional style for the picker's text |\n| placeholderStyle | function | `{}` | Additional style for the picker's placeholder |\n| modalStyle | function | `{}` | Additional style for the modal's container view |\n| listStyle | function | `{}` | Additional style for the list's container view |\n| itemStyle | function | `{}` | Additional style for the item's text |\n\n## Contributing\n\nPlease create issues and send pull requests!\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielweinmann%2Freact-native-controlled-picker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielweinmann%2Freact-native-controlled-picker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielweinmann%2Freact-native-controlled-picker/lists"}