{"_id":"react-native-foldview","_rev":"12-f2525affebe9d1f156e58a820461e984","name":"react-native-foldview","description":"FoldingCell impl in JavaScript","dist-tags":{"latest":"1.2.1"},"versions":{"1.0.0":{"name":"react-native-foldview","version":"1.0.0","description":"FoldingCell impl in JavaScript","main":"src/index","jsnext:main":"src/index","files":["*.md","src"],"author":{"name":"Jake Murzy","email":"jake@murzy"},"license":"MIT","homepage":"https://github.com/jmurzy/react-native-foldview","tags":["react","react-native","FoldView","FoldingCell","ListView","ScrollView"],"keywords":["react","react-native","native","ios","andorid","FoldingCell","folding","cell","view"],"contributors":[{"name":"Jake Murzy","email":"jake@murzy"}],"engines":{"node":">=4.0.0"},"scripts":{"test":"npm run spec && npm run lint","spec":"babel-node ./node_modules/.bin/gulp spec","lint":"babel-node ./node_modules/.bin/gulp lint","watch":"babel-node ./node_modules/.bin/gulp watch"},"repository":{"type":"git","url":"git+https://github.com/jmurzy/react-native-foldview.git"},"bugs":{"url":"https://github.com/jmurzy/react-native-foldview/issues"},"peerDependencies":{"react-native":"0.36.0-rc.1"},"dependencies":{"invariant":"^2.2.1","warning":"^3.0.0"},"devDependencies":{"babel-cli":"^6.10.1","babel-core":"^6.8.0","babel-eslint":"^7.0.0","babel-polyfill":"^6.9.1","babel-preset-react-native":"^1.9.0","chai":"^3.5.0","eslint":"^3.0.1","eslint-config-airbnb":"^12.0.0","eslint-plugin-flowtype":"^2.3.0","eslint-plugin-import":"^2.0.1","eslint-plugin-jsx-a11y":"^2.2.1","eslint-plugin-react":"^6.2.0","flow-bin":"^0.33.0","gulp":"^3.9.1","gulp-eslint":"^3.0.1","gulp-mocha":"^3.0.1","react":"~15.3.1","react-native":"0.36.0-rc.1","react-native-mock":"^0.2.5","rimraf":"^2.5.2","run-sequence":"^1.2.2"},"gitHead":"73ffa08a74ad73b2e6387b8db8b882b1aaeabfd4","_id":"react-native-foldview@1.0.0","_shasum":"688790732388a768c7e86deaa73a1b8a1b6d4a27","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.1.0","_npmUser":{"name":"jmurzy","email":"jake+npm@murzy.com"},"dist":{"shasum":"688790732388a768c7e86deaa73a1b8a1b6d4a27","tarball":"https://registry.npmjs.org/react-native-foldview/-/react-native-foldview-1.0.0.tgz","integrity":"sha512-krYm8TnBGvF275gZ5i5LBDgQiLGbYwJZaCT8V+chkMtKLqjEN4M4EXjHX8eQ83jE09rHFSYEjJDKQhvJ5+QsFQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGeyHlbPPalCJVQLA/uQTjRoMkqk/Gdh/FEOvnYUA42BAiEA7uWKUrFk5mgDWCzWEQLjpJFaQ71LLNyFA+zJW5e29ac="}]},"maintainers":[{"name":"jmurzy","email":"jake+npm@murzy.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/react-native-foldview-1.0.0.tgz_1477285937267_0.5362480201292783"},"directories":{}},"1.0.1":{"name":"react-native-foldview","version":"1.0.1","description":"FoldingCell impl in JavaScript","main":"src/index","jsnext:main":"src/index","files":["*.md","src"],"author":{"name":"Jake Murzy","email":"jake@murzy"},"license":"MIT","homepage":"https://github.com/jmurzy/react-native-foldview","tags":["react","react-native","FoldView","FoldingCell","ListView","ScrollView"],"keywords":["react","react-native","native","ios","andorid","FoldingCell","folding","cell","view"],"contributors":[{"name":"Jake Murzy","email":"jake@murzy"}],"engines":{"node":">=4.0.0"},"scripts":{"test":"npm run spec && npm run lint","spec":"babel-node ./node_modules/.bin/gulp spec","lint":"babel-node ./node_modules/.bin/gulp lint","watch":"babel-node ./node_modules/.bin/gulp watch"},"repository":{"type":"git","url":"git+https://github.com/jmurzy/react-native-foldview.git"},"bugs":{"url":"https://github.com/jmurzy/react-native-foldview/issues"},"peerDependencies":{"react-native":"0.36.0-rc.1"},"dependencies":{"invariant":"^2.2.1","warning":"^3.0.0"},"devDependencies":{"babel-cli":"^6.10.1","babel-core":"^6.8.0","babel-eslint":"^7.0.0","babel-polyfill":"^6.9.1","babel-preset-react-native":"^1.9.0","chai":"^3.5.0","eslint":"^3.0.1","eslint-config-airbnb":"^12.0.0","eslint-plugin-flowtype":"^2.3.0","eslint-plugin-import":"^2.0.1","eslint-plugin-jsx-a11y":"^2.2.1","eslint-plugin-react":"^6.2.0","flow-bin":"^0.33.0","gulp":"^3.9.1","gulp-eslint":"^3.0.1","gulp-mocha":"^3.0.1","react":"~15.3.1","react-native":"0.36.0-rc.1","react-native-mock":"^0.2.5","rimraf":"^2.5.2","run-sequence":"^1.2.2"},"gitHead":"612761cb4c2cd5237b6984f65fcf85b02926db92","_id":"react-native-foldview@1.0.1","_shasum":"ea3dff189614f0ce6c758143c1d6bfaa82c5e3b1","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.1.0","_npmUser":{"name":"jmurzy","email":"jake+npm@murzy.com"},"dist":{"shasum":"ea3dff189614f0ce6c758143c1d6bfaa82c5e3b1","tarball":"https://registry.npmjs.org/react-native-foldview/-/react-native-foldview-1.0.1.tgz","integrity":"sha512-HNGF18CVbPfrbP4mCQTWbhyxyJjcLxE+HvE4d3JTxctrcY8LaxAyFgicie/euJ0VBszg7IRJ9BTbxyWCulAgGw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDSSLMLOxBR4/sYjedU21632IAUcuwE3nuw17W8/yWn6wIhAJU7oQAth0SwcbrGUdueCeY9xBBZpFzjWJYVaBZzL0aI"}]},"maintainers":[{"name":"jmurzy","email":"jake+npm@murzy.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/react-native-foldview-1.0.1.tgz_1477301485699_0.9790990338660777"},"directories":{}},"1.1.0":{"name":"react-native-foldview","version":"1.1.0","description":"FoldingCell impl in JavaScript","main":"src/index","jsnext:main":"src/index","files":["*.md","src"],"author":{"name":"Jake Murzy","email":"jake@murzy"},"license":"MIT","homepage":"https://github.com/jmurzy/react-native-foldview","tags":["react","react-native","FoldView","FoldingCell","ListView","ScrollView"],"keywords":["react","react-native","native","ios","andorid","FoldingCell","folding","cell","view"],"contributors":[{"name":"Jake Murzy","email":"jake@murzy"}],"engines":{"node":">=4.0.0"},"scripts":{"test":"npm run spec && npm run lint","spec":"babel-node ./node_modules/.bin/gulp spec","lint":"babel-node ./node_modules/.bin/gulp lint","watch":"babel-node ./node_modules/.bin/gulp watch"},"repository":{"type":"git","url":"git+https://github.com/jmurzy/react-native-foldview.git"},"bugs":{"url":"https://github.com/jmurzy/react-native-foldview/issues"},"peerDependencies":{"react-native":"0.36.0-rc.1"},"dependencies":{"invariant":"^2.2.1","warning":"^3.0.0"},"devDependencies":{"babel-cli":"^6.10.1","babel-core":"^6.8.0","babel-eslint":"^7.0.0","babel-polyfill":"^6.9.1","babel-preset-react-native":"^1.9.0","chai":"^3.5.0","eslint":"^3.0.1","eslint-config-airbnb":"^12.0.0","eslint-plugin-flowtype":"^2.3.0","eslint-plugin-import":"^2.0.1","eslint-plugin-jsx-a11y":"^2.2.1","eslint-plugin-react":"^6.2.0","flow-bin":"^0.33.0","gulp":"^3.9.1","gulp-eslint":"^3.0.1","gulp-mocha":"^3.0.1","react":"~15.3.1","react-native":"0.36.0-rc.1","react-native-mock":"^0.2.5","rimraf":"^2.5.2","run-sequence":"^1.2.2"},"gitHead":"855d6bf2b4e40afefec411f2eb81a02fabd7431f","_id":"react-native-foldview@1.1.0","_shasum":"829b532ed0c26b1b5103136da30abf35b461bc11","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.1.0","_npmUser":{"name":"jmurzy","email":"jake+npm@murzy.com"},"dist":{"shasum":"829b532ed0c26b1b5103136da30abf35b461bc11","tarball":"https://registry.npmjs.org/react-native-foldview/-/react-native-foldview-1.1.0.tgz","integrity":"sha512-R3j36wJck/Yd5IzkYXTAAianvrXJigZzLFQORyiXCpuil7Ts7vsao54Xjr8j4Pyn4cNPA4ooziP5VIHyGI35Uw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGwDOeH+A4IaE9atVxhgX4esN632lIkhRPgB0tsGuT0hAiAuI5hCxEQ3ys3dig0fHBj0NKoZPnF4e0KdykAncAjkEA=="}]},"maintainers":[{"name":"jmurzy","email":"jake+npm@murzy.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/react-native-foldview-1.1.0.tgz_1477424079869_0.5941081643104553"},"directories":{}},"1.1.1":{"name":"react-native-foldview","version":"1.1.1","description":"FoldingCell impl in JavaScript","main":"src/index","jsnext:main":"src/index","files":["*.md","src"],"author":{"name":"Jake Murzy","email":"jake@murzy"},"license":"MIT","homepage":"https://github.com/jmurzy/react-native-foldview","tags":["react","react-native","FoldView","FoldingCell","ListView","ScrollView"],"keywords":["react","react-native","native","ios","andorid","FoldingCell","folding","cell","view"],"contributors":[{"name":"Jake Murzy","email":"jake@murzy"}],"engines":{"node":">=4.0.0"},"scripts":{"test":"npm run spec && npm run lint","spec":"babel-node ./node_modules/.bin/gulp spec","lint":"babel-node ./node_modules/.bin/gulp lint","watch":"babel-node ./node_modules/.bin/gulp watch"},"repository":{"type":"git","url":"git+https://github.com/jmurzy/react-native-foldview.git"},"bugs":{"url":"https://github.com/jmurzy/react-native-foldview/issues"},"peerDependencies":{"react":"^15.4.2","react-native":"0.40.0"},"dependencies":{"invariant":"^2.2.2","warning":"^3.0.0"},"devDependencies":{"babel-cli":"^6.22.2","babel-core":"^6.22.1","babel-eslint":"^7.1.1","babel-polyfill":"^6.22.0","babel-preset-react-native":"^1.9.1","chai":"^3.5.0","eslint":"^3.14.0","eslint-config-airbnb":"^14.0.0","eslint-plugin-flowtype":"^2.30.0","eslint-plugin-import":"^2.2.0","eslint-plugin-jsx-a11y":"^3.0.2","eslint-plugin-react":"^6.9.0","flow-bin":"^0.33.0","gulp":"^3.9.1","gulp-eslint":"^3.0.1","gulp-mocha":"^3.0.1","react":"^15.4.2","react-native":"0.40.0","rimraf":"^2.5.2","run-sequence":"^1.2.2"},"gitHead":"243b0007d319637f34b11cdfe9074727d4c5c32e","_id":"react-native-foldview@1.1.1","_shasum":"0eb9181439d85d82b70670d626aaf44ab0203562","_from":".","_npmVersion":"3.10.10","_nodeVersion":"7.2.1","_npmUser":{"name":"jmurzy","email":"jake+npm@murzy.com"},"dist":{"shasum":"0eb9181439d85d82b70670d626aaf44ab0203562","tarball":"https://registry.npmjs.org/react-native-foldview/-/react-native-foldview-1.1.1.tgz","integrity":"sha512-HLhGCtLhpJvHX8CZxv8dCx64SXUrtaFIMxb7Sg/t/0fVIHbK4qZ/ckX/8rjDEJkm06GFV1G6tZDEByOk7L6KKg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDo6L8Dlez/9r2XSE4FNK88P06viQ/sXywsdb3SJUjZ1QIhAJE+AvCHeiFqpuGPeH5VWPAjmLnTZDg8RoJw0Gas5bV0"}]},"maintainers":[{"name":"jmurzy","email":"jake+npm@murzy.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/react-native-foldview-1.1.1.tgz_1485242316046_0.7021047784946859"},"directories":{}},"1.2.1":{"name":"react-native-foldview","version":"1.2.1","description":"FoldingCell impl in JavaScript","main":"src/index","jsnext:main":"src/index","files":["*.md","src"],"author":{"name":"Jake Murzy","email":"jake@murzy"},"license":"MIT","homepage":"https://github.com/jmurzy/react-native-foldview","tags":["react","react-native","FoldView","FoldingCell","ListView","ScrollView"],"keywords":["react","react-native","native","ios","andorid","FoldingCell","folding","cell","view"],"contributors":[{"name":"Jake Murzy","email":"jake@murzy"}],"engines":{"node":">=4.0.0"},"scripts":{"test":"npm run spec && npm run lint","spec":"babel-node ./node_modules/.bin/gulp spec","lint":"babel-node ./node_modules/.bin/gulp lint","watch":"babel-node ./node_modules/.bin/gulp watch"},"repository":{"type":"git","url":"git+https://github.com/jmurzy/react-native-foldview.git"},"bugs":{"url":"https://github.com/jmurzy/react-native-foldview/issues"},"peerDependencies":{"react":"^15.4.2","react-native":"0.40.0"},"dependencies":{"invariant":"^2.2.2","prop-types":"^15.6.2","warning":"^3.0.0"},"devDependencies":{"babel-cli":"^6.22.2","babel-core":"^6.22.1","babel-eslint":"^7.1.1","babel-polyfill":"^6.22.0","babel-preset-react-native":"^1.9.1","chai":"^3.5.0","eslint":"^3.14.0","eslint-config-airbnb":"^14.0.0","eslint-plugin-flowtype":"^2.30.0","eslint-plugin-import":"^2.2.0","eslint-plugin-jsx-a11y":"^3.0.2","eslint-plugin-react":"^6.9.0","flow-bin":"^0.33.0","gulp":"^3.9.1","gulp-eslint":"^3.0.1","gulp-mocha":"^3.0.1","react":"^15.4.2","react-native":"0.40.0","rimraf":"^2.5.2","run-sequence":"^1.2.2"},"gitHead":"892f89569cd851867602ce7412852515dccc7e5f","_id":"react-native-foldview@1.2.1","_npmVersion":"5.6.0","_nodeVersion":"9.11.2","_npmUser":{"name":"jmurzy","email":"jake+npm@murzy.com"},"dist":{"integrity":"sha512-uQeXen9/dNS3OYrwp5Wu0ECP2lDCs9BQ1FuGUIqNdHTgtLU6b7VLMZcSBTBCaLuJjD360m6TC/aX5Rax03NMgw==","shasum":"9f6eac041d20ffc55b24e69d135a98eb0e4d2e6f","tarball":"https://registry.npmjs.org/react-native-foldview/-/react-native-foldview-1.2.1.tgz","fileCount":6,"unpackedSize":21848,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbXKNfCRA9TVsSAnZWagAAsw4QAIkWJKDiDP+4qnEZ9HyT\nGQBfm29pUZTAZ9AMlmnm+3iSK1wOahI+m0pP1W1V9XHKsAcQKl3PXVcXg8Vp\n5hnaNQpqIKfHHxsT9kkiiN8FwSDCstTT7F8SOCCyz4E/YlCf0TCt+VlXPc2D\nBzhBdYZFRtw8X9rwQC4jlzkCrzmvmQRM4ULjeJKfZEcITZJmW+Ixix3RC44A\nnLdyO0b3hZdSmjG9EfQGGRRNuNBBpNqmDJT2jCahjYzwpqmd3muT8qUoO/jy\nHO28lbQupSEfbli/0s0wjGIoAPCHyc6xCOZh606ZBI+ojCUedjbrfVLuyNWf\nWFR/D3BGqY1lr0r7HOKcwu0N14avkHx/UDi9LGmnbSFLeoSQPVjAzI4YqI/3\nEOCtsudg6QHTq3cEWu10k0Wc6esE/b2TpT94Sjc0OeIDY3xNfnu+4HwwuFld\nxjHsudp3unJ/ej81WvBcfHW2GZm4ITdY0pi5PwZtEgkUC5ZBqtLyvSDMWfWj\nXAQy4KUA3yUkNNxzHVBasa2IOyK4BsOd5VhmCTBzKLIaFgzYr/3P8OGyu0B4\nuIhqdc7GybBGpCUMB01a0DNMpfnelRdOv1/tC8u5q7RC5SQ3M2FS7RGV1GUC\nxjBYUyMtRohETKtcRIr6HOsih2kfaYUbohlzSYrhc+5urAhMse6lf6pwfs8D\nDH/+\r\n=9iwE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICnCdNxeX8wx4RgftyATe0Lkit7xsbI6mOUpFeZUQlM8AiAFt8AU8gNjp14eiAAF99kgdMOjGGWNjWdEMXWhfvaE2A=="}]},"maintainers":[{"name":"jmurzy","email":"jake+npm@murzy.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-foldview_1.2.1_1532797791887_0.26065402240868374"},"_hasShrinkwrap":false}},"readme":"# React Native FoldView [![Medium](https://img.shields.io/badge/blog-medium-brightgreen.svg)](https://commitocracy.com/implementing-foldview-in-react-native-e970011f98b8) [![CircleCI](https://img.shields.io/circleci/project/jmurzy/react-native-foldview/master.svg?style=flat-square)](https://circleci.com/gh/jmurzy/react-native-foldview) [![npm version](https://img.shields.io/npm/v/react-native-foldview.svg?style=flat-square)](https://www.npmjs.com/package/react-native-foldview) [![npm](https://img.shields.io/npm/l/react-native-foldview.svg?style=flat-square)](https://github.com/jmurzy/react-native-foldview/blob/master/LICENSE.md)\n\nFoldingCell implementation in JavaScript. This project was inspired by the folding cell animation seen on [Dribbble](https://dribbble.com/shots/2121350-Delivery-Card).\n\n\n<img align=\"right\" width=\"360px\" src=\"https://raw.githubusercontent.com/jmurzy/react-native-foldview/master/.github/screenshot.gif\">\n\n#### Questions?\nFeel free to reach out to me on Twitter [@jmurzy](https://twitter.com/jmurzy).\n\n### Read it on Medium\nTo learn more about how FoldView was implemented, check out the article on Medium: [Implementing FoldView in React Native](https://commitocracy.com/implementing-foldview-in-react-native-e970011f98b8).\n\n### Example\nThe demo app from the GIF can be found at `examples/Simple`.\n\nTo build and run the example app:\n\n```bash\ngit clone https://github.com/jmurzy/react-native-foldview\n\ncd react-native-foldview/examples/Simple\nnpm install\n```\n\nTo deploy to iOS simulator:\n\n```bash\nnpm run ios\n```\n\n### Installation\n\n#### Using npm:\n\n```sh\n$ npm install --save react-native-foldview\n```\n\n#### Using yarn:\n\n```sh\n$ yarn add react-native-foldview\n```\n\n### Usage\n\n```jsx\nimport React, { Component } from 'react';\n\nimport FoldView from 'react-native-foldview';\n\nconst Frontface = (props) => (/*...*/);\nconst Backface = (props) => (/*...*/);\nconst Base = (props) => (/*...*/);\n\nexport default class Row extends Component {\n\n  constructor(props) {\n    super(props);\n\n    this.state = {\n      expanded: false,\n    };\n  }\n\n  componentWillMount() {\n    this.flip = this.flip.bind(this);\n  }\n\n  flip() {\n    this.setState({\n      expanded: !this.state.expanded,\n    });\n  }\n\n  renderFrontface() {\n    return (\n      <Frontface />\n    );\n  }\n\n  renderBackface() {\n    /**\n     * You can nest <FoldView>s here to achieve the folding effect shown in the GIF above.\n     * A reference implementation can be found in examples/Simple.\n     */\n    return (\n      <Backface />\n    );\n  }\n\n  render() {\n    return (\n      <FoldView\n        expanded={this.state.expanded}\n        renderBackface={this.renderBackface}\n        renderFrontface={this.renderFrontface}\n      >\n        <Base />\n      </FoldView>\n    );\n  }\n}\n\n```\n\n#### Props\n\n| Prop | Type | Description |\n|---|---|---|\n|**`children`**|`ReactElement<any>`|React Element(s) to render.|\n|**`flipDuration`**|`?number`|Length of flip animation in milliseconds. _Default 280._|\n|**`renderBackface`**|`() => ReactElement<any>`|Callback that renders a backface.|\n|**`renderFrontface`**|`() => ReactElement<any>`|Callback that renders a frontface.|\n|**`renderLoading`**|`?() => ReactElement<any>`|Callback that renders a temporary view to display before base layout occurs. If not provided, `renderFrontface` is used instead.|\n\n#### Root-only Props\n\nFoldViews can be nested. The following props can only be set on the root `FoldView`.\n\n| Prop | Type | Description |\n|---|---|---|\n|**`collapse`**|`?(foldviews: Array<IFoldView>) => Promise`|Called when FoldView should collapse allowing you to have control over which FoldViews(s) to collapse. Default behavior is to wait until a FoldView is collapsed before collapsing the next one.|\n|**`expand`**|`?(foldviews: Array<IFoldView>) => Promise`|Called when FoldView should expand allowing you to have control over which FoldView(s) to expand. Default behavior is to wait until a FoldView is expanded before expanding the next one.|\n|**`expanded`**|`boolean`|Allows you to expand and collapse the FoldView content.|\n|**`onAnimationEnd`**|`?(duration: number, height: number) => void`|Called when a collapse animation ends.|\n|**`onAnimationStart`**|`?(duration: number, height: number) => void`|Called before an expand animation starts.|\n|**`perspective`**|`?number`|Defines the space within which the 3D animation occurs.|\n\n### Advanced Usage\nYou can customize the behavior of expand and collapse animations using the `expand` and `collapse` props on the root `FoldView`. For example, it's very much possible to collapse all FoldViews in a given stack altogether rather than one by one. You can do so as follows:\n\n```jsx\nconst collapse = async (foldViews) => {\n  /**\n   * Internally, FoldView turns off rasterization when collapsed as an optimization to decrease\n   * memory usage. It's important to wrap your calls in a `Promise` here to avoid early disabling\n   * of rasterization.\n   */\n  await Promise.all(foldViews.map(foldView => foldView.collapse()));\n}\n\n<FoldView\n  collapse={collapse}\n  renderBackface={/* ... */}\n  renderFrontface={/* ... */}\n>\n  { /* ... */ }\n</FoldView>\n```\n\n### Platform Support\nThis library heavily depends on the `overflow` style property. Unfortunately, `overflow` defaults to `hidden` on Android and cannot be changed. Although it looks like a [possible](https://github.com/facebook/react-native/issues/3198#issuecomment-241867280) [fix](https://github.com/facebook/react-native/tree/master/ReactAndroid/src/main/java/com/facebook/react/flat) is in the making, currently, FoldingView is only supported on iOS.\n\n### Contributing\nContributions are very welcome: bug fixes, features, documentation, tests. Just make sure the CI is 👌.\n\n#### Hacking\n\nUnfortunately, React Native packager does not support symlinking so you cannot use [`npm link`](https://docs.npmjs.com/cli/link) when hacking on this library. You can learn more about that, [here](https://productpains.com/post/react-native/symlink-support-for-packager/).\n\nThe library code is specified as a [local dependency](local dependency) in the example's `package.json`. In order to hack on the library code, you need to sync it into `examples/Simple/node_modules`. To do so, run:\n\n```js\nnpm run watch\n```\n\nThis will automatically watch the `src` directory and sync your changes into `examples/Simple/node_modules` every time something changes.\n\n#### License\n\nAll pull requests that get merged will be made available under [the MIT license](https://github.com/jmurzy/react-native-foldview/blob/master/LICENSE.md), as the rest of the repository.\n","maintainers":[{"name":"jmurzy","email":"jake+npm@murzy.com"}],"time":{"modified":"2022-06-26T05:30:02.894Z","created":"2016-10-24T05:12:19.825Z","1.0.0":"2016-10-24T05:12:19.825Z","1.0.1":"2016-10-24T09:31:25.943Z","1.1.0":"2016-10-25T19:34:40.146Z","1.1.1":"2017-01-24T07:18:37.880Z","1.2.1":"2018-07-28T17:09:51.988Z"},"homepage":"https://github.com/jmurzy/react-native-foldview","keywords":["react","react-native","native","ios","andorid","FoldingCell","folding","cell","view"],"repository":{"type":"git","url":"git+https://github.com/jmurzy/react-native-foldview.git"},"contributors":[{"name":"Jake Murzy","email":"jake@murzy"}],"author":{"name":"Jake Murzy","email":"jake@murzy"},"bugs":{"url":"https://github.com/jmurzy/react-native-foldview/issues"},"license":"MIT","readmeFilename":"README.md","users":{"kyungtaek":true,"locsian":true,"junkycoder":true,"jacob-beltran":true}}