{"name":"react-native-camera-roll-picker","description":"A React Native component providing images selection from camera roll ","version":"1.3.0","author":{"name":"jeanpan"},"bugs":{"url":"https://github.com/jeanpan/react-native-camera-roll-picker/issues"},"dependencies":{"prop-types":"^15.6.0"},"homepage":"https://github.com/jeanpan/react-native-camera-roll-picker#readme","keywords":["cameraroll","ios","picker","react-component","react-native","react-native-component"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"git+https://github.com/jeanpan/react-native-camera-roll-picker.git"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"gitHead":"0979b3927a700b9afe7db1ae690ffe4dd8fdae0a","_id":"react-native-camera-roll-picker@1.3.0","_nodeVersion":"10.15.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-D9rG0jjyhcfB5GKvC9dU3wjlRf+1Dj4H/B9sZmBU1CppDBofHjNCTtVQsLQMhXAG6XbHZqHUqqJik0RKCuPZEQ==","shasum":"7d28465da32f66155da7e8ae2ce79b0debeb6743","tarball":"http://registry-npm.ywwl.com/react-native-camera-roll-picker/download/react-native-camera-roll-picker-1.3.0.tgz","fileCount":7,"unpackedSize":16487,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcyER2CRA9TVsSAnZWagAAEVsQAIDQhUTTGsiQNLy2cKa8\n/kDgFyuhYaqEve4olgZ4Ux7U7Ndb+vtDAEB35yUUh3/J6mviKSxzLuTLOfFP\n7XHzKjgx2LnkGaskmUPYlDkeLejrfKGYrR0L7GNfuTLjPu31z1UbleIz+9Zm\njwFaDe0ISWhKAkTwMdVmnamFdURdqQH9P283yG7L6IIV2bJLaOFYa5zzNGD0\nG2IEyGyb/Nv2HfmRM0nZiMQgIISuT6OENunxXWf6XaAwj1hFh2kuJx9wCXE2\nPpi4RggIogZoQ4K37T70eip0Rtt62ByY2pebcm1gdYfxh2j/HK0cunJI1vP+\nX6aM+21jwH6Cmt2egqCK1KyFLbunE5bQPPqI55XjyKPWJhf7mj5wuL6yyb2N\nazYCkLU5oXQ7UL7wmYaUnBIl1EIduKTAGUDw/WcYW8jx1QUAtQV4L3ahG9So\ngzEouf1lPSmZS0ulXRIaYe8GD+ur0nq5T5IuNG0LWHCURHQmMvs6GZQgAOXp\nf6ft8ZayLbX03wF7tziIRp9JXTQIl7LBs/N82Qn4oEcponfKvyno78Cu4NDJ\nIZck7lxNSA4x5g1fGsB+TsWdnOLvwK/BJg7mDsNNd4197utW3e1f3ANupxq4\nz4xBF/LArvEufth3ZgjF5uqSMGBOymwgKUsrxz1sujQOzHaSGXH/u9JNycei\nk7c7\r\n=4y52\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDjH1VPtkzoAJreYB1xioL+ipwgXj8AmJxAb12HmT2y4wIgMOl9RPz8kCJGpHdOBtnKFNAdnPKEghxmqH5VAOv14L0="}],"size":7390,"noattachment":false,"key":"/react-native-camera-roll-picker/-/react-native-camera-roll-picker-1.3.0.tgz"},"maintainers":[{"email":"jeanpan314@gmail.com","name":"jeanpan"},{"email":"sibeliusseraphini@gmail.com","name":"sibelius"}],"_npmUser":{"name":"sibelius","email":"sibeliusseraphini@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-camera-roll-picker_1.3.0_1556628597538_0.18269764797071986"},"_hasShrinkwrap":false,"readme":"\n[![version](https://img.shields.io/npm/v/react-native-camera-roll-picker.svg)](https://www.npmjs.org/package/react-native-camera-roll-picker) [![npm](https://img.shields.io/npm/dt/react-native-camera-roll-picker.svg)](https://www.npmjs.org/package/react-native-camera-roll-picker)\n\n# react-native-camera-roll-picker\nCameraRoll Picker component for React native\n\n<a href=\"https://raw.githubusercontent.com/jeanpan/react-native-camera-roll-picker/master/demo/demo.gif\"><img src=\"https://raw.githubusercontent.com/jeanpan/react-native-camera-roll-picker/master/demo/demo.gif\" width=\"350\"></a>\n\nRequires `react-native >=0.43.0`\n\n\n## Add to Project\n* Install component through npm\n```\n$ npm install react-native-camera-roll-picker --save\n```\n\n* Install CameraRoll from @react-native-community\n```\n$ npm install @react-native-community/cameraroll\n```\n\n* Require component\n```\nimport CameraRollPicker from 'react-native-camera-roll-picker';\n```\n\n## Basic Usage\n```js\n<CameraRollPicker\n  callback={this.getSelectedImages} />\n```\n\n## Props\n- `callback` : Callback function when images was selected. (is required!). Return a selected image array and current selected image.\n- `initialNumToRender` : Specifies how many rows we want to render on our first render pass. (Default: 5)\n- `groupTypes` : The group where the photos will be fetched, one of 'Album', 'All', 'Event', 'Faces', 'Library', 'PhotoStream' and 'SavedPhotos'. (Default: SavedPhotos)\n- `assetType` : The asset type, one of 'Photos', 'Videos' or 'All'. (Default: Photos)\n- `selected` : Already be selected images array. (Default: [])\n- `selectSingleItem` : Boolean to select only one single image at time. (Default: `false`)\n- `maximum` : Maximum number of selected images. (Default: 15)\n- `imagesPerRow` : Number of images per row. (Default: 3)\n- `imageMargin` : Margin size of one image. (Default: 5)\n- `containerWidth` : Width of camer roll picker container. (Default: device width)\n- `selectedMarker` : Custom selected image marker component. (Default: checkmark).\n- `backgroundColor` : Set background color. (Default: white).\n- `emptyText`: Text to display instead of a list when there are no photos found. (Default: 'No photos.')\n- `emptyTextStyle`: Styles to apply to the `emptyText`. (Default: `textAlign: 'center'`)\n- `loader`: Loader component node. (Default: `<ActivityIndicator />`)\n\n## Run Example\n```\n$ git clone https://github.com/jeanpan/react-native-camera-roll-picker.git\n$ cd react-native-camera-roll-picker\n$ cd Example\n$ npm install\n$ react-native run-ios\n```\n","publish_time":1556628597640,"_cnpm_publish_time":1556628597640,"dist-tags":{"latest":"2.0.1"}}