{"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","tarball":"http://registry-npm.ywwl.com/react-native-swipe-out/download/react-native-swipe-out-2.0.14.tgz","integrity":"sha512-5sRJwSkVDBoEjAknkC0oTjEKfe6N020MOMYL+LlVEfMO/JQn6HsHdGwoEajC0+GFYvVt1GzmTpHBGoQcjKlk1Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCyHnzN6aFF/nYs5cHV+3XUmiPyxoiP18U9K/wHTUFU+wIgHFHztGqfOF1RZ3VLoUeeMs3bcAso5DCLGKF28DHyToY="}],"size":10883,"noattachment":false,"key":"/react-native-swipe-out/-/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":{},"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","publish_time":1486177425084,"_cnpm_publish_time":1486177425084,"dist-tags":{"latest":"2.0.14"}}