{"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","tarball":"http://registry-npm.ywwl.com/react-native-swipe-out/download/react-native-swipe-out-2.0.11.tgz","integrity":"sha512-Hyxp6ZuIB9mRzvrBRKO2wsQsMRJiys76mcnQ8VYkqWz/oRd4tcW5vElPkijWd4FBE8Lfslm1QS+bK5+5EPQQ8A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD6MrDgSiA/ouroKFGO3ZwSnX0cGjlfjgl24WXMc32kdQIhALeEWz1BRPLm9sLZ6Hcut5susxzGrhDoVX2c4gOlyXhH"}],"size":6208,"noattachment":false,"key":"/react-native-swipe-out/-/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":{},"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":1470062012539,"_cnpm_publish_time":1470062012539,"dist-tags":{"latest":"2.0.14"}}