{"_id":"@cassianoturno/react-native-keyboard-sticky-avoiding-scroll-view","name":"@cassianoturno/react-native-keyboard-sticky-avoiding-scroll-view","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@cassianoturno/react-native-keyboard-sticky-avoiding-scroll-view","version":"1.0.0","description":"React Native ScrollView extension that prevents inputs from being covered by the keyboard","keywords":["react native","keyboard","keyboard avoiding","keyboard aware","scrollview","alka"],"homepage":"https://github.com/cassianotbnb/react-native-keyboard-avoiding-scroll-view#readme","bugs":{"url":"https://github.com/cassianotbnb/react-native-keyboard-avoiding-scroll-view/issues"},"license":"MIT","author":{"name":"Cassiano S","email":"cassiano@turno.com"},"main":"dist/index.js","react-native":"dist/index.js","types":"dist/index.d.ts","sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/cassianotbnb/react-native-keyboard-avoiding-scroll-view.git"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"scripts":{"typecheck":"tsc --noEmit --pretty","lint":"eslint --ext .js,.ts,.tsx --cache .","test":"run-p --silent --print-label typecheck lint","bootstrap":"yarn --cwd example && yarn","build":"rm -rf dist && yarn tsc --pretty --declaration --outDir dist","example":"yarn --cwd example","prepublishOnly":"yarn build","presemantic-release":"yarn build","semantic-release":"semantic-release"},"prettier":{"bracketSpacing":false,"jsxBracketSameLine":true,"printWidth":80,"semi":false,"singleQuote":true,"tabWidth":2,"trailingComma":"all","useTabs":false},"husky":{"hooks":{"pre-commit":"lint-staged","commit-msg":"commitlint -e","pre-push":"yarn test"}},"lint-staged":{"**/*.{js,ts,tsx,json,yml,yaml}":["prettier --write","git add"],"**/*.{js,ts,tsx}":["eslint --ext .js,.ts,.tsx --cache --fix","git add"]},"commitlint":{"extends":["@commitlint/config-conventional"]},"peerDependencies":{"react":"*","react-native":"*"},"dependencies":{},"devDependencies":{"@alkafinance/eslint-config":"^1.0.1","@alkafinance/eslint-config-react":"^1.0.0","@alkafinance/eslint-config-typescript":"^1.0.0","@commitlint/cli":"^8.1.0","@commitlint/config-conventional":"^8.1.0","@types/react":"16.8.23","@types/react-native":"0.60.2","eslint":"5.10.0","husky":"^3.0.1","lint-staged":"^9.2.1","npm-run-all":"^4.1.5","prettier":"^1.18.2","semantic-release":"^15.13.18","typescript":"^3.5.3","utility-types":"^3.7.0"},"gitHead":"95a11d7b5d1e74ccd637439b0e0ca7d4167c2ea3","_id":"@cassianoturno/react-native-keyboard-sticky-avoiding-scroll-view@1.0.0","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-AFDhZuZgBJcnpq/ui3C+7/y1V+Wtg0YgjTVSed+Cbo2ofeGkKL4snyuNATVIdYoT3wSFJ79jiqf7peLfkhAk3w==","shasum":"f2d3d3e0fcadb200b44b619ac7d1aabe57cce8bd","tarball":"https://registry.npmjs.org/@cassianoturno/react-native-keyboard-sticky-avoiding-scroll-view/-/react-native-keyboard-sticky-avoiding-scroll-view-1.0.0.tgz","fileCount":23,"unpackedSize":28031,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDTngO6LpJR30Lm78wYkVI/ZQE2XZBwqvtVo6zO6sJ39AiAGzhNxTP5jwjMaaveg5zBL4gYKWZQFs+dqv9cw/r5Tow=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkDzRGACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmov+xAAjGAycnzSJtP7w+n+P9LXwzXJ8vWfnqxY1XRDKIIdryVx+DOV\r\njyfXypXjWrybfzfX2CogviSNaWByaepvf+lvdKouqg5cTehLvDZ3yQsDXaKv\r\nsP4DFQuJY8pSKBU0+gTRn6iErbHFpZVwRv8cLRKeh/ZrMSFWB+DxQRXOaxMc\r\ncF4CiikaN1WxoyET14YERxRHwcGd9D6ODHj7zAa+geHczXvVUryEGPhl8cs7\r\nTVyVC76Ui3APPlpYRVdlqQyCzLS3K0+Wx/VvvN/oH7sXJb0OtGcWZVtBkGuZ\r\nkOHsgK1ECAM+hvGNBE8YN9YDltMPdqGjBpD0AkHvlwCabsagiQnT9gVkNLvG\r\nADxq/JIpeiGwdEy2JhBnBcetKQll6FYEVarSg8oYWixatvHLFgPuYwV3qtd8\r\nUR79VLHunm2h6NUCGtkUr/2s38m/FUVcUI4ntM+2B5BwQklt3xW282KvMi4U\r\nWDjWIUtO15O2HX2X/Q3bC/DFMGniSC1ziWDjF6VuVd8wiZu3M831YN64RHBY\r\nELvl7ghXuEQPUJuvFnGtyinisOXMQDZAJEnjrEnH4i4Dke5Tu+FavgmkNeoT\r\nMz9eJ94LJ4PqXGG3aUpI7u1GjYA+8i/A1fkbjkcbzwGuM8pva5fYm+eXX2xU\r\nUYfS6hawtaYGZzyuDfKYUsPCx0SDAf1wXIk=\r\n=DJFE\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"cassianoturno","email":"cassiano@turno.com"},"directories":{},"maintainers":[{"name":"cassianoturno","email":"cassiano@turno.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-keyboard-sticky-avoiding-scroll-view_1.0.0_1678718022411_0.07322985755159461"},"_hasShrinkwrap":false}},"time":{"created":"2023-03-13T14:33:42.242Z","1.0.0":"2023-03-13T14:33:42.597Z","modified":"2023-03-13T14:33:42.877Z"},"maintainers":[{"name":"cassianoturno","email":"cassiano@turno.com"}],"description":"React Native ScrollView extension that prevents inputs from being covered by the keyboard","homepage":"https://github.com/cassianotbnb/react-native-keyboard-avoiding-scroll-view#readme","keywords":["react native","keyboard","keyboard avoiding","keyboard aware","scrollview","alka"],"repository":{"type":"git","url":"git+https://github.com/cassianotbnb/react-native-keyboard-avoiding-scroll-view.git"},"author":{"name":"Cassiano S","email":"cassiano@turno.com"},"bugs":{"url":"https://github.com/cassianotbnb/react-native-keyboard-avoiding-scroll-view/issues"},"license":"MIT","readme":"# react-native-keyboard-avoiding-scroll-view\n\n[![npm version](https://img.shields.io/npm/v/react-native-keyboard-avoiding-scroll-view.svg)](https://www.npmjs.org/package/react-native-keyboard-avoiding-scroll-view)\n[![CircleCI Status](https://img.shields.io/circleci/project/github/alkafinance/react-native-keyboard-avoiding-scroll-view/master.svg)](https://circleci.com/gh/alkafinance/workflows/react-native-keyboard-avoiding-scroll-view/tree/master)\n![license: MIT](https://img.shields.io/npm/l/react-native-keyboard-avoiding-scroll-view.svg)\n![Supports Android and iOS](https://img.shields.io/badge/platforms-android%20|%20ios-lightgrey.svg)\n[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier)\n[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)\n\nReact Native ScrollView extension that prevents inputs from being covered by the keyboard.\n\n<img src=\"./.github/demo.gif\" width=\"auto\" height=\"640\">\n\n## Getting started\n\n`$ npm install react-native-keyboard-avoiding-scroll-view --save`\n\n## Usage\n\nImport `KeyboardAvoidingScrollView`, `KeyboardAvoidingFlatList`, or `KeyboardAvoidingSectionList` and use them like the regular `ScrollView`, `FlatList` or `SectionList` components from React Native core. Internally, these components are wrapped in another custom component called `KeyboardAvoidingContainer`, which is also exported for advanced use cases.\n\n```javascript\nimport {KeyboardAvoidingScrollView} from 'react-native-keyboard-avoiding-scroll-view';\n\nfunction MyComponent() {\n  return (\n    <KeyboardAvoidingScrollView stickyFooter={<Button />}>\n      <TextInput />\n      <TextInput />\n      <TextInput />\n    </KeyboardAvoidingScrollView>\n  )\n}\n```\n\n## Props\n\n- [Inherited `ScrollView` props...](https://facebook.github.io/react-native/docs/scrollview.html#props)\n  - or [inherited `FlatList` props...](https://facebook.github.io/react-native/docs/flatlist#props)\n  - or [inherited `SectionList` props...](https://facebook.github.io/react-native/docs/sectionlist#props)\n\n- [`stickyFooter`](#stickyFooter)\n- [`containerStyle`](#containerStyle)\n\n---\n\n# Reference\n\n## Props\n\n### `stickyFooter`\n\nUsed to display a fixed view under the scrollable content. Sticky footer is always shown above the keyboard, which could, for example, be the desired behaviour for a submit button.\n\n| Type              | Required |\n| ----------------- | -------- |\n| `React.ReactNode` | No       |\n\n---\n\n### `containerStyle`\n\nUsed to style the container component.\n\n| Type                   | Required |\n| ---------------------- | -------- |\n| `StyleProp<ViewStyle>` | No       |\n\n## License\n\n[MIT License](./LICENSE) © Alka, Inc\n","readmeFilename":"README.md"}