{"_id":"@agaweb/react-native-orientation-aware-view","_rev":"1-46234e98d6d7fbdfc16db65c008d575a","name":"@agaweb/react-native-orientation-aware-view","dist-tags":{"latest":"0.3.0"},"versions":{"0.3.0":{"name":"@agaweb/react-native-orientation-aware-view","title":"React Native Orientation Aware View","version":"0.3.0","description":"## Getting started","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/Agaweb/react-native-orientation-aware-view.git"},"keywords":["react-native"],"author":{"name":"Nicholas Bertazzon","email":"nico.bertazzon@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/Agaweb/react-native-orientation-aware-view/issues"},"homepage":"https://github.com/Agaweb/react-native-orientation-aware-view","licenseFilename":"LICENSE","peerDependencies":{"react":">= 16.8.0","react-native":">= 0.60.0"},"devDependencies":{"react":">= 16.8.0","react-native":">= 0.60.0"},"gitHead":"15efd4dc9ba58e0c6f0e1d2c0a0066f6a92f3e4b","_id":"@agaweb/react-native-orientation-aware-view@0.3.0","_nodeVersion":"15.10.0","_npmVersion":"7.5.3","dist":{"integrity":"sha512-x0HwZjtC7MLLU3vk3D7UNOdVT8DbO5rdmT3rF9qkbJXM9/hhQOlNhzuOLbO0XukhlISZMxjoeY/z4561Jyf7Tw==","shasum":"97b6a149b26a1b22afef67a538bf68714f6e1e38","tarball":"https://registry.npmjs.org/@agaweb/react-native-orientation-aware-view/-/react-native-orientation-aware-view-0.3.0.tgz","fileCount":4,"unpackedSize":2787,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPPaiCRA9TVsSAnZWagAAy1EQAIXQjf/L9JM3eFmJe8GB\nTdhoZMishrsRzXa5HWq/u9fXI+PfmJSBtyiDQlauuj8XS6uAnT0Q0SWPPxqS\nd0gzbQq3Y0Fo0yC5QlmLm5DddLClvzg36Kev2GLYvqwwswppLAPxkBrEHQSW\nl+TDxqZHSzcgnAPc7zEFcdLvZngxctFwBqd84ZwHCHlmRZ7bFUofK3Nc4TFd\nXoS5FZ9mtdBWKgD6NjArfp25DZZRzpmYTAYVgCmzSS3jy78z0UfJ37WoP2ZA\nWJjWvnkb3lMqM9zXrqES5qqfDe9KSuZ2WLZL7y9cJaOsmUAuznDJwIOFZupz\n1I00iE8Dziol+qStj36ZNU/Yp9Qs0khWBI3WS0iRaBw+zGElk2kHtohZ+Qgd\ncYvARXzeRhduiOc6OdzvdhfxhP1DJb5AHw/1Z9k5bi24K0T+SMHy/Tdnodhc\n6MqHUxk84LotwTQe6bZklRH7M3acV20XvrH/lDJv0d4M1fnoPrTkzxGlug4N\nwISRr44g0AcsURJFBTxGoYW3MaiiYHsYwMEFBdR/NViYosmGP6b92qVCDq5C\nKR8FlFGmTS+vjxwlCuo6P6jfnDOcHZX0HoOSBxnsMuotuvXvnOcF/1nu5hKF\nkfnGVZL1MQNnnQa17lUTZFlCHvu76byEDHwsJKICPHOcTfktzvElZlPqslKf\nE1EK\r\n=rOVt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID/HEz4WgQ6Yxz2BsZdZNqCB3disxbjiTA+ec+V6mfZLAiEAw2iSUOqiRlGtRENpbFzz3sY6c4vnO067FMOKiJLjBNc="}]},"_npmUser":{"name":"agaweb","email":"nicholas@agaweb.it"},"directories":{},"maintainers":[{"name":"agaweb","email":"nicholas@agaweb.it"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-orientation-aware-view_0.3.0_1614608034404_0.9399790404618309"},"_hasShrinkwrap":false}},"time":{"created":"2021-03-01T14:13:54.366Z","0.3.0":"2021-03-01T14:13:54.548Z","modified":"2022-04-04T11:54:02.602Z"},"maintainers":[{"name":"agaweb","email":"nicholas@agaweb.it"}],"description":"## Getting started","homepage":"https://github.com/Agaweb/react-native-orientation-aware-view","keywords":["react-native"],"repository":{"type":"git","url":"git+https://github.com/Agaweb/react-native-orientation-aware-view.git"},"author":{"name":"Nicholas Bertazzon","email":"nico.bertazzon@gmail.com"},"bugs":{"url":"https://github.com/Agaweb/react-native-orientation-aware-view/issues"},"license":"MIT","readme":"\n# React Native Orientation Aware View\n\n## Getting started\n\n`$ npm install react-native-orientation-aware-view --save`\n\n## Usage\n\nThe view inherits all the props and adds four others.\n\n**Props :**\n- **style**: default, both in portrait and landscape\n- **portraitStyle**: will be merged with the default style when the orientation is portrait\n- **landscapeStyle**: will be merged with the default style when the orientation is landscape\n- **hideOnPortrait**: won't render the view on portrait\n- **hideOnLandscape**: won't render the view in landscape\n\n### Example\n```javascript\nimport OrientationAwareView from \"react-native-orientation-aware-view\";\n\n<OrientationAwareView\n    style={{ flex: 1 }}\n    portraitStyle={{ backgroundColor: \"red\" }}\n    landscapeStyle={{ backgroundColor: \"blue\" }}>\n    ...\n</OrientationAwareView>\n```\n  ","readmeFilename":"README.md"}