{"name":"react-native-swipeout","version":"2.2.1","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","prop-types":"^15.5.10","create-react-class":"^15.6.0"},"gitHead":"50cc2915b98445626f3c6a28405521fdb2269938","_id":"react-native-swipeout@2.2.1","_shasum":"bbec9676ea8964ebe0082ecb9c28cad7a0d61ea8","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.4","_npmUser":{"name":"silentcloud","email":"rjmuqiang@gmail.com"},"dist":{"shasum":"bbec9676ea8964ebe0082ecb9c28cad7a0d61ea8","tarball":"http://registry-npm.ywwl.com/react-native-swipeout/download/react-native-swipeout-2.2.1.tgz","integrity":"sha512-GHlF1jdkMx9Bmg8mt9CTsEcsM4u/yYA8aeszePdEqagkb/sopuFfNyOEpVfph4N8fC1Lwcz6fL0kEi3UIJKezQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICf+9ol6MjJ3T86HcVMOBogJw5S7R1fjTYHUFNptN2VDAiAtEfT8qh2e+2fEoa3It3IdG2yCRSVO5uvUUi0HN9Tl/A=="}],"size":7394,"noattachment":false,"key":"/react-native-swipeout/-/react-native-swipeout-2.2.1.tgz"},"maintainers":[{"name":"silentcloud","email":"rjmuqiang@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-swipeout-2.2.1.tgz_1501557542540_0.9511554522905499"},"directories":{},"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":1501557542627,"_cnpm_publish_time":1501557542627,"dist-tags":{"latest":"2.3.6"}}