{"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","tarball":"http://registry-npm.ywwl.com/react-native-swipe-out/download/react-native-swipe-out-2.0.13.tgz","integrity":"sha512-V5Z639/2hH5wN90re7CeQsnPo9jKvokCm9BK4Wxt2c0YEwvAlHi1KnMlJgVqleC+AheVcnz6EqdVUL2lqOgtrw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDKhZvqAGivv9s+2KFeJoIyiOjgYWrSXlkGn3sI28qW0wIhAOnwAG08+Q5CEiPx9SHVWQ/dDF/h0j3GLg0XjHZSuRk8"}],"size":10562,"noattachment":false,"key":"/react-native-swipe-out/-/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":{},"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":1483425221234,"_cnpm_publish_time":1483425221234,"dist-tags":{"latest":"2.0.14"}}