{"_id":"@dmitriy_nikolenko/react-native-useful-screens","_rev":"1-b8cefb2559bc8415043f834236feb094","name":"@dmitriy_nikolenko/react-native-useful-screens","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.2":{"name":"@dmitriy_nikolenko/react-native-useful-screens","version":"0.0.2","description":"Set of screen boilerplates for React Native","private":false,"main":"index.js","keywords":["react-native","react-native-component","react","ui","screen","navigation"],"author":{"name":"Dmitriy Nikolenko","email":"dmitriynikolenko@gmail.com"},"homepage":"https://github.com/DmitriyNikolenko/react-native-useful-screens","bugs":{"url":"https://github.com/DmitriyNikolenko/react-native-useful-screens/issues"},"repository":{"type":"git","url":"git://github.com/DmitriyNikolenko/react-native-useful-screens.git"},"license":"MIT","scripts":{},"peerDependencies":{"react":">=16.0.0","react-native":">=0.50","prop-types":">=15.6.1"},"gitHead":"49041d0b37e6ce96bc3c13333cdb7701a9ff5adc","_id":"@dmitriy_nikolenko/react-native-useful-screens@0.0.2","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"dmitriy_nikolenko","email":"dmitriynikolenko@gmail.com"},"dist":{"integrity":"sha512-FMPn37mdNJhS5hyPq4ziiZL+gm/PVv+Apn4FZG7PHzx8wuVD5F/3HCFyO2z419NJxrRQ0UtRESy9OS9ogIkPMw==","shasum":"e2804256d07ca612dc9492d6db8923928e15dc26","tarball":"https://registry.npmjs.org/@dmitriy_nikolenko/react-native-useful-screens/-/react-native-useful-screens-0.0.2.tgz","fileCount":22,"unpackedSize":9416488,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7qbaCRA9TVsSAnZWagAAB7gP/1kKwulDelU2KINhKAOi\nEBFJMEg0GCwdfYuiOavRGjTeiF5QWD7Ja0JfONt1djzyZ+660ax0HnhKjEuB\nJ3qFoYvZq3kA2Q6gsVQx730B9O1p2LZgMgwWKW/aZrIUSCpY9r2I5/EVnq/I\nJdith0eHhvsFpWPFAmI92ddVfMLsSYnqNjU9Cevlo5vIVxvl1VNnyIThi5nD\n7DhbMqmFNpyxXVeAgNENGPg72iEe0/uYFpao7nXDun3b31cp3K7As3RoQfmS\nsOS3F0LAqZ1jui64zCDKiAkxL6Wf9BQ35sNHcIiDSlJXgONN4PhR4gj7hB4N\nPAXRSe8z7+aJ5J21G1BFPN9ZniFpHWoMWMZR5KvI0zJCRqfEAL4UMaDdS4rE\nJHT60nboI7tjxh66ZFgZ2KZCVxCnLcU4rTGDnsaPqU1Nh7T2NaEJJDWAu+M1\n69V4FQBp3lqKdCdWSYH6CX6orfOwZTEn1tMljyZgQfVFNkQvfFJWylX8rfjh\n9qwTqqGdXQzfxNa3K84AFXodDdIx9zVDxffz9fURJ4w5Bnsmg4Y7ESrpKvi1\nO6UT3h/rzc/pKEOOde2efAopqwJdH+ZCID/kaVYGaP1KvkYIE5dir9tVoOZO\nYVp09vVHOY40IE3Xhu0CtQa6yJI3/EX0ruk8i/iQnzgqniUSSisnQsY/30HV\n217k\r\n=oB+u\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEnmnWJDI6PfDDjOAIx3FJFplWpvxyhiqoTG2zjPbFkHAiAPVnJtDMAfqwnQeuKB0+GrKaZ//LDZxw+JpvL8ho+Yyg=="}]},"maintainers":[{"name":"dmitriy_nikolenko","email":"dmitriynikolenko@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-useful-screens_0.0.2_1542366937261_0.47898371273112406"},"_hasShrinkwrap":false}},"time":{"created":"2018-11-16T11:15:37.042Z","0.0.2":"2018-11-16T11:15:37.783Z","modified":"2022-04-05T04:58:45.067Z"},"maintainers":[{"name":"dmitriy_nikolenko","email":"dmitriynikolenko@gmail.com"}],"description":"Set of screen boilerplates for React Native","homepage":"https://github.com/DmitriyNikolenko/react-native-useful-screens","keywords":["react-native","react-native-component","react","ui","screen","navigation"],"repository":{"type":"git","url":"git://github.com/DmitriyNikolenko/react-native-useful-screens.git"},"author":{"name":"Dmitriy Nikolenko","email":"dmitriynikolenko@gmail.com"},"bugs":{"url":"https://github.com/DmitriyNikolenko/react-native-useful-screens/issues"},"license":"MIT","readme":"# Contents\n* [About](#about)\n* [Installation](#installation)\n* [Usage](#usage)\n* [Examples](#examples)\n* [Demo](#demo)\n* [License](#license)\n* [Changelog](#changelog)\n\n# About\n\n# Installation\n\n`npm install git+https://git@github.com/DmitriyNikolenko/react-native-useful-screens.git` \nor \n`yarn add git+https://git@github.com/DmitriyNikolenko/react-native-useful-screens.git`\n\n# Usage\n\n## Import\n```javascript\n\timport Screen from 'react-native-useful-screens'\n```\n\n## Screen props\n| props      | description    | default                 | type                                                                                                                |   |\n|------------|----------------|-------------------------|---------------------------------------------------------------------------------------------------------------------|---|\n| headerType | Type of header | Screen.headerTypes.NONE | oneOf([Screen.headerTypes.NONE, Screen.headerTypes.SINGLE, Screen.headerTypes.FLOATING, Screen.headerTypes.IMAGED]) |   |\n| title      | Header title   | undefined               | string                                                                                                              |   |\n| color      | Header color   | undefined               | string  \n\n# Examples\n\n```javascript\n\t<Screen\n\t\theaderType={Screen.headerTypes.IMAGED}\n\t\t// NavBar props\n\t\ttitle=\"Screen title\"\n\t\tcolor=\"orange\"\n\t\tleftComponent={DrawerMenuButton}\n\t\trightComponent={AppNavMenu}\n\t\t// ImagedNavBar props\n\t\timageSrc={require('./images/header-bg')}\n\t\texpandedHeight={240}\n\t\t// Content props\n\t\tfooterComponent={Footer}\n\t>\n\t\t<Text>Hello world!</Text>\n\t</Screen>\n```\n\n# Demo\n\n| Screen.headerTypes.FLOATING | Screen.headerTypes.IMAGED |\n| ------------- |:-------------:|\n| ![floating navbar](/demo/floating.gif \"headerType={Screen.headerTypes.FLOATING}\") |  ![imaged navbar](/demo/imaged.gif \"headerType={Screen.headerTypes.IMAGED}\") |\n\n# License\n\nMIT\n\n# Changelog\n\n*0.0.1* - created module.\n*0.0.2* - fixed imports in ImagedNavBar component, adding demo gifs, update docs","readmeFilename":"README.md"}