{"_id":"react-native-swipe-out","_rev":"360138","name":"react-native-swipe-out","description":"iOS-style swipeout buttons behind component","dist-tags":{"latest":"2.0.14"},"maintainers":[{"name":"silentcloud","email":"rjmuqiang@gmail.com"}],"time":{"modified":"2021-07-13T08:47:47.000Z","created":"2016-08-01T14:33:32.539Z","2.0.14":"2017-02-04T03:03:45.084Z","2.0.13":"2017-01-03T06:33:41.234Z","2.0.12":"2016-08-02T01:57:02.877Z","2.0.11":"2016-08-01T14:33:32.539Z"},"users":{"chirag_purohit71085":true},"author":{"name":"Dan Cormier"},"repository":{"type":"git","url":"git+ssh://git@github.com/silentcloud/react-native-swipeout.git"},"versions":{"2.0.14":{"name":"react-native-swipe-out","version":"2.0.14","description":"iOS-style swipeout buttons behind component","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+ssh://git@github.com/silentcloud/react-native-swipeout.git"},"keywords":["react-native","react-component","ios","swipeout","button","swipe","ui"],"author":{"name":"Dan Cormier"},"maintainers":[{"name":"silentcloud","email":"rjmuqiang@gmail.com"}],"license":"MIT","bugs":{"url":"https://github.com/silentcloud/react-native-swipeout/issues"},"homepage":"https://github.com/silentcloud/react-native-swipeout","dependencies":{"react-tween-state":"^0.1.5"},"gitHead":"5a4bc28ea5e3c212ae1130ddb583fabf2bb3222b","_id":"react-native-swipe-out@2.0.14","_shasum":"971b1d62dbc383892e633da003bfa69a766fe765","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.4","_npmUser":{"name":"silentcloud","email":"rjmuqiang@gmail.com"},"dist":{"shasum":"971b1d62dbc383892e633da003bfa69a766fe765","size":10883,"noattachment":false,"key":"/react-native-swipe-out/-/react-native-swipe-out-2.0.14.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-native-swipe-out/download/react-native-swipe-out-2.0.14.tgz"},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/react-native-swipe-out-2.0.14.tgz_1486177423312_0.9114518347196281"},"directories":{},"publish_time":1486177425084,"_cnpm_publish_time":1486177425084,"_hasShrinkwrap":false},"2.0.13":{"name":"react-native-swipe-out","version":"2.0.13","description":"iOS-style swipeout buttons behind component","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+ssh://git@github.com/silentcloud/react-native-swipeout.git"},"keywords":["react-native","react-component","ios","swipeout","button","swipe","ui"],"author":{"name":"Dan Cormier"},"maintainers":[{"name":"silentcloud","email":"rjmuqiang@gmail.com"}],"license":"MIT","bugs":{"url":"https://github.com/silentcloud/react-native-swipeout/issues"},"homepage":"https://github.com/silentcloud/react-native-swipeout","dependencies":{"react-tween-state":"^0.1.5"},"gitHead":"d45f6117a19773314e7a0ae32c42b449e9aff852","_id":"react-native-swipe-out@2.0.13","_shasum":"bbe74d759457251c2500f4b6c5afc49e1ef2cafd","_from":".","_npmVersion":"2.15.5","_nodeVersion":"4.4.5","_npmUser":{"name":"silentcloud","email":"rjmuqiang@gmail.com"},"dist":{"shasum":"bbe74d759457251c2500f4b6c5afc49e1ef2cafd","size":10562,"noattachment":false,"key":"/react-native-swipe-out/-/react-native-swipe-out-2.0.13.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-native-swipe-out/download/react-native-swipe-out-2.0.13.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/react-native-swipe-out-2.0.13.tgz_1483425220994_0.6263756908010691"},"directories":{},"publish_time":1483425221234,"_cnpm_publish_time":1483425221234,"_hasShrinkwrap":false},"2.0.12":{"name":"react-native-swipe-out","version":"2.0.12","description":"iOS-style swipeout buttons behind component","main":"index.js","scripts":{"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":{"react-tween-state":"^0.1.5"},"gitHead":"d5083eb7258c0fd6d6c6221edf94b78752a3768d","_id":"react-native-swipe-out@2.0.12","_shasum":"930d501ba0a7620245884c8a843665626452a36e","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.1.2","_npmUser":{"name":"silentcloud","email":"rjmuqiang@gmail.com"},"dist":{"shasum":"930d501ba0a7620245884c8a843665626452a36e","size":6205,"noattachment":false,"key":"/react-native-swipe-out/-/react-native-swipe-out-2.0.12.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-native-swipe-out/download/react-native-swipe-out-2.0.12.tgz"},"maintainers":[{"name":"silentcloud","email":"rjmuqiang@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/react-native-swipe-out-2.0.12.tgz_1470103022630_0.356114647584036"},"directories":{},"publish_time":1470103022877,"_cnpm_publish_time":1470103022877,"_hasShrinkwrap":false},"2.0.11":{"name":"react-native-swipe-out","version":"2.0.11","description":"iOS-style swipeout buttons behind component","main":"index.js","scripts":{"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":{"react-tween-state":"^0.1.5"},"gitHead":"829b7c01ba969cd70509944bc210289b759d48a6","_id":"react-native-swipe-out@2.0.11","_shasum":"e6f4371157cd7dfb4bd95d8336c50bd2dd40a8a9","_from":".","_npmVersion":"3.10.5","_nodeVersion":"4.4.7","_npmUser":{"name":"silentcloud","email":"rjmuqiang@gmail.com"},"dist":{"shasum":"e6f4371157cd7dfb4bd95d8336c50bd2dd40a8a9","size":6208,"noattachment":false,"key":"/react-native-swipe-out/-/react-native-swipe-out-2.0.11.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-native-swipe-out/download/react-native-swipe-out-2.0.11.tgz"},"maintainers":[{"name":"silentcloud","email":"rjmuqiang@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/react-native-swipe-out-2.0.11.tgz_1470062012302_0.616357319522649"},"directories":{},"publish_time":1470062012539,"_cnpm_publish_time":1470062012539,"_hasShrinkwrap":false}},"readme":"\nforked from [dancormier/react-native-swipeout](https://github.com/dancormier/react-native-swipeout), fixed bugs and republished\n---\n\n# react-native-swipe-out\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-swipe-out\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```\nvar Swipeout = require('react-native-swipe-out')\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\nleft            | array  | Yes      | []        | swipeout buttons on left\nonOpen          | func   | Yes      |           |\nonClose          | func   | Yes      |           |\nright           | array  | Yes      | []        | swipeout buttons on right\nscroll          | func   | Yes      |           | prevent parent scroll\nstyle           | style  | Yes      |           | style of the container\nsensitivity     | number | Yes      | 0         | change the sensitivity of gesture\n\n##### Button props\n\nProp            | Type   | Optional | Default   | Description\n--------------- | ------ | -------- | --------- | -----------\nbackgroundColor | string | Yes      | '#b6bec0' | background color\ncolor           | string | Yes      | '#ffffff' | text color\ncomponent       | string | 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, 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","_attachments":{},"homepage":"https://github.com/silentcloud/react-native-swipeout","bugs":{"url":"https://github.com/silentcloud/react-native-swipeout/issues"},"license":"MIT"}