{"name":"react-native-swipeout","version":"2.3.4","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":"6bff217b7df9527a80d4e2f52c24838b88ff52f6","_id":"react-native-swipeout@2.3.4","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"silentcloud","email":"rjmuqiang@gmail.com"},"dist":{"integrity":"sha512-XwVmoG1kgS8lG4FhKW21weJJQ4HoYP5OsFeA9Cvg+ASdg7UI0+o+7EJzqvKOOtr1MxzJ/1XDnmeGYMydcytGOA==","shasum":"0490305a6cdb529416b0d8f9841dff7ab6c0d76d","tarball":"http://registry-npm.ywwl.com/react-native-swipeout/download/react-native-swipeout-2.3.4.tgz","fileCount":13,"unpackedSize":119627,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbVuaxCRA9TVsSAnZWagAA3IkP/ArUI/J+j5Feky+y1MMH\nyWhp5sXHvw6hpsZzHUeekmpD2VZL8V2ocMttUWdXUDId1JyrJPL4ujzxEZb9\nnChlABmkeNUf4Jg4/5ZLWWdm3d0wzWj0XvEuF4ygkLHuXy/YL8L9wawEtGaG\nvV0tsROAWGitbr9Ls4exym4vd/gXGuefb8BeS/Na4ADR1EIwcWx7bfCVoIsw\n/Nsl/Vt7xyLG8ztb7IDqEuMogOSNsZVaxNeH6S82zeQkEyAzfn2w/Zl67PSK\nEbyAk3cHfCCRlrBNpCokuLsCJHI5c4UwSSIjuQHJsDnSh5i97lw2MvwVEStT\n0ykWSRYY9Yhmwb1+ep/M+fgUHCpFhUV38MzuGR7thBagKO0QfG8tQ0zeW75u\nI+2hOFzJxYmDYCmzKuRj/rvcMBcpUppt/2pfLYIilBOedR6SEFM0qlY4Sjwd\nYnuZCLQ5PYB/Ws8jeu8ICvJpZGqYFcRhczbJNb0MwYgV+ruLFWXnn2L0J1z1\nJq3NARLjUsyodMNxa9A80Vm3Q/yyUndA8drExEjkSdv996CRurrbkRlzhJVM\nbqkMnaLH07pp3Rg8fU3/G+1mbPRXzWRbhOnGY5YKWe7dDJrr/8XPt62vxWxQ\n1CgQj5r0lyE9EL1JkFMlnqZ7uVR8bwOfk7uXnwxyRhYd3534mfqu9ZyAaxIQ\nSOyk\r\n=zIrm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDanH6TH1Sb5LBnCtVLiKr3uJgLSsoo1Hgopqr4B1vnsgIgMMw/ZjriCyonOHinblF2ErEhPk/0hyxlDXDYgiB5c2I="}],"size":28693,"noattachment":false,"key":"/react-native-swipeout/-/react-native-swipeout-2.3.4.tgz"},"maintainers":[{"name":"silentcloud","email":"rjmuqiang@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-swipeout_2.3.4_1532421809362_0.36999069400681317"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Use at your own risk or consider using https://github.com/software-mansion/react-native-gesture-handler","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":1532421809483,"_cnpm_publish_time":1532421809483,"dist-tags":{"latest":"2.3.6"}}