{"name":"react-native-camera-roll-picker","version":"1.2.3","description":"A React Native component providing images selection from camera roll ","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/jeanpan/react-native-camera-roll-picker.git"},"keywords":["react-native-component","react-component","react-native","ios","cameraroll","picker"],"author":{"name":"jeanpan"},"license":"ISC","bugs":{"url":"https://github.com/jeanpan/react-native-camera-roll-picker/issues"},"homepage":"https://github.com/jeanpan/react-native-camera-roll-picker#readme","gitHead":"3e098f370bbdc79acdf03a12d45c635a0dad9302","_id":"react-native-camera-roll-picker@1.2.3","_shasum":"b117fd3a2b9012dcccee1261a9bc427226b8d6d2","_from":".","_npmVersion":"4.1.2","_nodeVersion":"6.1.0","_npmUser":{"name":"jeanpan","email":"jeanpan314@gmail.com"},"dist":{"shasum":"b117fd3a2b9012dcccee1261a9bc427226b8d6d2","tarball":"http://registry-npm.ywwl.com/react-native-camera-roll-picker/download/react-native-camera-roll-picker-1.2.3.tgz","integrity":"sha512-vz9UfBmHhoZu1YEYmT/0CQDApo+mIJ6Z0Nhf24vGjlg42sX7X1Tzt16UZI6tCAWh7oQilStjOXLjyj2lAqgTVg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCfBCkMjuSgfc1m3vJFQLnKJ9RJyjR4gL5PilBWU1sdBgIhAMTElbg2Gd041M3Jc440ZzOfueuWerFPhIJkKBTJDQ4G"}],"size":7480,"noattachment":false,"key":"/react-native-camera-roll-picker/-/react-native-camera-roll-picker-1.2.3.tgz"},"maintainers":[{"name":"jeanpan","email":"beats.1213@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-camera-roll-picker-1.2.3.tgz_1508040233243_0.8125153498258442"},"directories":{},"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":1508040233373,"_cnpm_publish_time":1508040233373,"dist-tags":{"latest":"2.0.1"}}