{"id":19311980,"url":"https://github.com/weblineindia/react-native-expandable-textview","last_synced_at":"2025-04-22T15:31:30.890Z","repository":{"id":57157096,"uuid":"280425746","full_name":"weblineindia/React-Native-Expandable-Textview","owner":"weblineindia","description":"A React Native based component for creating Expandable TextView in your application.","archived":false,"fork":false,"pushed_at":"2021-12-22T15:12:57.000Z","size":92,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-19T13:19:57.897Z","etag":null,"topics":["expandable","expandabletextview","react-components","react-native","react-native-component","react-native-components","react-native-expandable","react-native-library","react-native-module","react-native-plugin","react-native-textinput","reactnative","reactnative-textview","reactnativedemo"],"latest_commit_sha":null,"homepage":"https://www.weblineindia.com/software-development-resources.html","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/weblineindia.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-07-17T13:02:48.000Z","updated_at":"2022-09-24T19:55:54.000Z","dependencies_parsed_at":"2022-09-03T16:51:21.084Z","dependency_job_id":null,"html_url":"https://github.com/weblineindia/React-Native-Expandable-Textview","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weblineindia%2FReact-Native-Expandable-Textview","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weblineindia%2FReact-Native-Expandable-Textview/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weblineindia%2FReact-Native-Expandable-Textview/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weblineindia%2FReact-Native-Expandable-Textview/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/weblineindia","download_url":"https://codeload.github.com/weblineindia/React-Native-Expandable-Textview/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250267316,"owners_count":21402454,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["expandable","expandabletextview","react-components","react-native","react-native-component","react-native-components","react-native-expandable","react-native-library","react-native-module","react-native-plugin","react-native-textinput","reactnative","reactnative-textview","reactnativedemo"],"created_at":"2024-11-10T00:31:54.327Z","updated_at":"2025-04-22T15:31:30.585Z","avatar_url":"https://github.com/weblineindia.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Native - Expandable TextView\n\nA React Native based component for creating Expandable TextView in your application. \n\n## Getting started\n\n- [Demo](#demo)\n- [Installation](#installation)\n- [Supported versions](#supported-versions)\n- [Usage](#usage)\n- [Props](#props)\n- [Methods](#methods)\n- [Want to Contribute?](#want-to-contribute?)\n- [Collection of Components](#collection-of-components)\n- [Changelog](#changelog)\n- [License](#license)\n- [Keywords](#keywords)\n\n## Demo\n\n[![](ExpandableTextView.png)](http://git-ar.webline.local/ReactNative/Component-Expandable-TextView/ExpandableTextView.png)\n\n## Installation\n\n`$ npm install rn-weblineindia-expandable-textview --save`\n\n## Supported versions\n\nWe have tested this component in ReactNative 0.60 - 0.66. You can still use it in other versions.\n\n## Usage\n\nHere is a sample screen in which you can implement the Expandable TextView Component.\n\n```javascript\nimport ExpandableTextField from 'rn-weblineindia-expandable-textview';\n\n \u003cExpandableTextField\n  style={{}}\n  onChangeText={(text) =\u003e console.log('Text---\u003e',text)}\n  maxHeight={250}\n  selectionColor={'black'}\n  placeholder={'Please enter Address'}\n  blurOnSubmit={true}\n/\u003e\n```\n\n### Callback\n\n```javascript\nonChangeText={() =\u003e }\nonSubmitEditing={() =\u003e }\nonFocus={() =\u003e }\nonBlur={() =\u003e }\nonChange={() =\u003e }\nonEndEditing={() =\u003e }\n```\n\n### Methods\n.focus() \n.blur()\n.clear();\n\n## Props\n\n| **Props**           | **Type** | **Required** | **Description**                                                               |\n|---------------------|----------|--------------|-------------------------------------------------------------------------------|\n| maxHeight           | `number` | no           | Defines maximum height for textinput. Default 100.                            |\n| refData             | `string` | no           | Defines reference of textinput                                                |\n| mutiline            | `boolean`| Yes          | Always true for multiline textinput                                           |\n| blurOnSubmit        | `boolean`| Yes          | Always true for multiline textinput                                           |\n\n\n\n\n## Methods\n\n| **Method**           | **Description**                                                                            |\n|----------------------|--------------------------------------------------------------------------------------------|\n| onChangeText         | Callback that is called when the text input's content size changes.                        |\n| onSubmitEditing      | Callback that is called when the text input's submit button is pressed with the argument.  |\n| onFocus              | Callback that is called when the text input is focused.                                    |\n| onBlur               | Callback that is called when the text input is blurred.                                    |\n| onChange             | Callback that is called when the text input's text changes.                                |\n| onEndEditing         | Callback that is called when text input ends.                                              |\n| focus                | Makes the native input request focus.                                                      |\n| blur                 | Makes the native input lose focus.                                                         |\n| clear                | Removes all text from the TextInput.                                                       |\n\n\n-----\n\n## Want to Contribute?\n\n- Created something awesome, made this code better, added some functionality, or whatever (this is the hardest part).\n- [Fork it](http://help.github.com/forking/).\n- Create new branch to contribute your changes.\n- Commit all your changes to your branch.\n- Submit a [pull request](http://help.github.com/pull-requests/).\n\n-----\n\n## Collection of Components\n\nWe have built many other components and free resources for software development in various programming languages. Kindly click here to view our [Free Resources for Software Development](https://www.weblineindia.com/software-development-resources.html).\n\n------\n\n## Changelog\n\nDetailed changes for each release are documented in [CHANGELOG.md](./CHANGELOG.md).\n\n------\n\n## License\n\n[MIT](LICENSE)\n\n[mit]: https://github.com/weblineindia/React-Native-Expandable-TextView/blob/master/LICENSE\n\n------\n\n### Keywords\n\n rn-weblineindia-expandable-textView, react-native-expandable-textView, Expandable-TextView, react-native\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweblineindia%2Freact-native-expandable-textview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweblineindia%2Freact-native-expandable-textview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweblineindia%2Freact-native-expandable-textview/lists"}