{"name":"react-native-swipeout","version":"2.3.5-beta.0","description":"iOS-style swipeout buttons behind component","main":"dist/index.js","types":"index.d.ts","scripts":{"build":"rm -rf dist && cross-env BABEL_ENV=commonjs babel src --out-dir dist","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+ssh://git@github.com/dancormier/react-native-swipeout.git"},"keywords":["react-native","react-component","ios","swipeout","button","swipe","ui"],"author":{"name":"Dan Cormier"},"license":"MIT","bugs":{"url":"https://github.com/dancormier/react-native-swipeout/issues"},"homepage":"https://github.com/dancormier/react-native-swipeout","dependencies":{"create-react-class":"^15.6.0","prop-types":"^15.5.10","react-tween-state":"^0.1.5"},"devDependencies":{"babel-cli":"^6.11.4","babel-eslint":"^8.0.0","babel-preset-es2015":"^6.24.1","babel-preset-react":"^6.24.1","babel-preset-stage-2":"^6.24.1","cross-env":"^5.0.5"},"gitHead":"61f9930514d2235fb75b685c2b39c88aa0e39569","_id":"react-native-swipeout@2.3.5-beta.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"silentcloud","email":"rjmuqiang@gmail.com"},"dist":{"integrity":"sha512-bRaamt40xNP8Ab5pozl4SSAt1z9fx16vr4PFmeKJxquMS++iYSHgdY93TiK3QEtowPbs5Q0b9cHggRK75God1g==","shasum":"fe48ac2c71e5af7e419724480e57f73249d59cd6","tarball":"http://registry-npm.ywwl.com/react-native-swipeout/download/react-native-swipeout-2.3.5-beta.0.tgz","fileCount":13,"unpackedSize":114098,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbbDosCRA9TVsSAnZWagAAPmEQAJfZIChyqnEwZkVxkudz\nDPjzsiV/OFvkEoeNTIeEF2WJmsmlbVeOVsvwk/Xm+pBZJ5HmCeRRwX/bhJil\nOs2aWzZC/Z1MntDDoMxXplWSx5LeN31ELOm07SjG+W6S32SgtyPN8F2XKzm7\n2ZYaZAKguPrZ+QBD+7DwYnwux0wyUsNAmHzY0XAA3b7AKmlDlYPhzQz6mLpr\ndMo4q0VYQuwfj96uvyLOiw5F84MoEhzYsUwdS78BNnHzv9OfaCqItPvZCETw\n4tiAzTR6+L4O8f53V8MkfawvcI+V2sKILuWqxDjyP0TjuqT0BwfnQgnyqvWu\nhy13B34WTGn3piD4KKfYw6cScXun6m6EuJRwJP/SX4fvwBu4yqOcUZiABzXT\n23GdVwpJz2AQfiRaSlg5XH9oTLv3k17PNFb/lwx1vPNs8O+vgPNihhMZ2A/Q\nPnEmIdTekOcopIzSDw3jFwgJQ5Zx9G73RRAvtA6Z7DLzjOtU1+dX44YHMRKO\nuf1ORK67xyMPKjZSiaCiMwSLV/3na9TCxnFVojI+jHN8qdupjnXW/gT9MTYC\nabhsc5K+3IlnrcsEdEKvJgRxPLjquHA9yHvLzTPzlQyDKtPhUJWBvISAz0eV\np3uK6AWd4LEbmffMbheZkLa+AYaiunTMjewW8VvDCO7e/szNVX8NPhHp1Lsw\njD4a\r\n=S566\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBPYyOvF6FHjmGk/H6eWUlG0pZTVg/5A+DSkknvPr2fYAiEAxGpDcFFAAd6orlvcaubfTHjeRv538Nd1aLDDNO33+nE="}],"size":26665,"noattachment":false,"key":"/react-native-swipeout/-/react-native-swipeout-2.3.5-beta.0.tgz"},"maintainers":[{"name":"silentcloud","email":"rjmuqiang@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-swipeout_2.3.5-beta.0_1533819436299_0.6226485985789534"},"_hasShrinkwrap":false,"readme":"# react-native-swipeout\niOS-style swipeout buttons that appear from behind a component\n\n![swipeout preview](http://i.imgur.com/oCQLNFC.gif)\n\n## Installation\n```\nnpm install --save react-native-swipeout\n```\n\n## Usage example\n\nSee example/index.ios.js for a more detailed example.\nSee the [Wiki](https://github.com/dancormier/react-native-swipeout/wiki) usage tips.\nTo use swipeout behind a iOS-style listitem, try [react-native-listitem](https://github.com/dancormier/react-native-listitem).\n\n```js\nimport Swipeout from 'react-native-swipeout';\n\n// Buttons\nvar swipeoutBtns = [\n  {\n    text: 'Button'\n  }\n]\n\n// Swipeout component\n<Swipeout right={swipeoutBtns}>\n  <View>\n    <Text>Swipe me left</Text>\n  </View>\n</Swipeout>\n\n```\n\n## Props\n\nProp            | Type   | Optional | Default   | Description\n--------------- | ------ | -------- | --------- | -----------\nautoClose       | bool   | Yes      | false     | auto close on button press\nbackgroundColor | string | Yes      | '#dbddde' |\nclose           | bool   | Yes      |           | close swipeout\ndisabled        | bool   | Yes      |  false    | whether to disable the swipeout  \nleft            | array  | Yes      | []        | swipeout buttons on left\nonOpen          | func   | Yes      |           | (sectionID, rowId, direction: string) => void\nonClose          | func   | Yes      |           | (sectionID, rowId, direction: string) => void\nright           | array  | Yes      | []        | swipeout buttons on right\nscroll          | func   | Yes      |           | prevent parent scroll\nstyle           | style  | Yes      |           | style of the container\nsensitivity     | number | Yes      | 50         | change the sensitivity of gesture\nbuttonWidth     | number | Yes      |            | each button width\n\n##### Button props\n\nProp            | Type   | Optional | Default   | Description\n--------------- | ------ | -------- | --------- | -----------\nbackgroundColor | string | Yes      | '#b6bec0' | background color\ncolor           | string | Yes      | '#ffffff' | text color\ncomponent       | ReactNode | Yes      | null      | pass custom component to button\nonPress         | func   | Yes      | null      | function executed onPress\ntext            | string | Yes      | 'Click Me'| text\ntype            | string | Yes      | 'default' | default, delete, primary, secondary\nunderlayColor   | string | Yes      | null      | button underlay color on press\ndisabled        | bool   | Yes      | false     | disable button\n\n## To Do\n\n[https://github.com/dancormier/react-native-swipeout/issues](https://github.com/dancormier/react-native-swipeout/issues)\n","publish_time":1533819436424,"_cnpm_publish_time":1533819436424,"dist-tags":{"latest":"2.3.6"}}