{"name":"react-native-camera-roll-picker","description":"A React Native component providing images selection from camera roll ","version":"2.0.0","author":{"name":"jeanpan"},"bugs":{"url":"https://github.com/jeanpan/react-native-camera-roll-picker/issues"},"dependencies":{"prop-types":"^15.6.0"},"devDependencies":{"@react-native-community/cameraroll":"^1.3.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":"69abd4af3c00f2d7863f4f5a3e0d220eb704e7df","_id":"react-native-camera-roll-picker@2.0.0","_nodeVersion":"12.13.0","_npmVersion":"6.13.0","dist":{"integrity":"sha512-Ou3gybEwmLXQkouaBZPJ+cfSbAcAD0Lex9/kRR4orFWROal+VipVO75YW7+5Mo2SgJL24i0TG/dqUfOt2WW7+w==","shasum":"f5f328a85749e1f11b16fe29a4e44ef46fffede4","tarball":"http://registry-npm.ywwl.com/react-native-camera-roll-picker/download/react-native-camera-roll-picker-2.0.0.tgz","fileCount":8,"unpackedSize":20095,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd1GyhCRA9TVsSAnZWagAA/oIQAKHCpt4VW+JYOaCg1RC0\nBcpgq6o1RB0YmqZv402ETBbREHEYaLXEGmU3IgwY/FF6DrEO/5Qel+4+EuqW\nOPBeOx0ARHOJkRX28Ce1NnBO6zp00FGgddQryhPcJ6ubeX1EclOIi8+E8Aeb\nvULZPD8ne9LkWe0FWCr9KrAYxnhELHcvmsHk8LAZ3F9Hitp3TlN8HZFjyVxg\n5PAfTZAzXBIzCwJD2ubnMUOFH8j4RHlolEzBCe/FpwoVLxPjWl5fh0/9eb/P\nOaLaUt/4yyvY98yGFyQ+ZJFk9NgF6qHrfgf44IYErUsZnt2qUDhIeertWrzG\nppklTgwfdJYM1p7aw7HHhT9q9yMQshb7EtptX+qm0WUilpkueLcfpumjG1AE\n9IK0W6Ldyy+T9j762DtM1PprrEMYAdLCIbXZv5AnbCnZ6kIwNNa45pGUPFL8\nXy8ZPf0kPkGEizx19UqJAY8G7nhPoy/qCp5tiME9xN/FOw/ahi58j9ezRfjj\np1H5nhNtSNFXz1Olm680JRfggo8q1FvOX62Mg/S9Da1YhkWCDZItDOIvfMil\nFkLpDa7qeOOzXbH8ccS6cbCIM7X/eMSc+ryYAZKhmq+QimAtyxbEGG2e+u+J\nT76zCM7hzYT+FXDe9JMB3/5crfCRcMf4osbT73tWy7Ax81chFzZImg2CPCA+\nH6wo\r\n=TpxC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC7ZVA1GPkpxwbYfFcvkBzbtfbQyAR+ZNMaqTQiUpuG5wIgOcY8aL0LFDN5oi50c9kpZVj5pmwB+rvFkVtpkpWcN+w="}],"size":8751,"noattachment":false,"key":"/react-native-camera-roll-picker/-/react-native-camera-roll-picker-2.0.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_2.0.0_1574202528847_0.373537479277704"},"_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":1574202529079,"_cnpm_publish_time":1574202529079,"dist-tags":{"latest":"2.0.1"}}