{"id":15011873,"url":"https://github.com/aamuizz/react-native-read-more-text","last_synced_at":"2025-04-09T19:08:56.740Z","repository":{"id":57136176,"uuid":"524697468","full_name":"aamuizz/react-native-read-more-text","owner":"aamuizz","description":"React native library to show text in a brief way and expand it when needed. It is a lightweight inline read more text component. It is written in Typescript and supports both TS/JS. It can be used with react native cli and expo both","archived":false,"fork":false,"pushed_at":"2022-08-20T18:12:22.000Z","size":98,"stargazers_count":11,"open_issues_count":2,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-09T19:08:50.884Z","etag":null,"topics":["android","inline-read-more","ios","react","react-native","read-less","read-more","read-more-text","readmore","readmoretextview"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@amuizz/read-more-text","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aamuizz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-08-14T14:41:21.000Z","updated_at":"2024-10-12T20:07:56.000Z","dependencies_parsed_at":"2022-09-03T16:01:22.828Z","dependency_job_id":null,"html_url":"https://github.com/aamuizz/react-native-read-more-text","commit_stats":null,"previous_names":["amuizz20/react-native-read-more-text"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aamuizz%2Freact-native-read-more-text","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aamuizz%2Freact-native-read-more-text/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aamuizz%2Freact-native-read-more-text/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aamuizz%2Freact-native-read-more-text/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aamuizz","download_url":"https://codeload.github.com/aamuizz/react-native-read-more-text/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248094993,"owners_count":21046770,"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":["android","inline-read-more","ios","react","react-native","read-less","read-more","read-more-text","readmore","readmoretextview"],"created_at":"2024-09-24T19:41:50.776Z","updated_at":"2025-04-09T19:08:56.708Z","avatar_url":"https://github.com/aamuizz.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-native-read-more-text\nReact native library to show text in a brief way and expand it when needed.  It is a lightweight inline read more text component. It is written in Typescript and supports both TS/JS. It can be used with react native cli and expo both.\n\n![Screencast-from-08-14-2022-08_57_52-PM](https://user-images.githubusercontent.com/33664562/184545189-81c3baa3-f59d-4228-975f-23409274e2b8.gif)\n\n\n### Installation\n\n```\nnpm i @amuizz/read-more-text --save\n```\n\nor with yarn\n\n```\nyarn add @amuizz/read-more-text\n```\n\n### Usage\n\n```javascript\nimport React from 'react';\nimport { View } from 'react-native';\nimport ReadMoreText from '@amuizz/read-more-text';\nconst Test = () =\u003e {\n  return (\n    \u003cView\u003e\n      \u003cReadMoreText numberOfLines={1} readMoreText={\"read more\"} readLessText={\"read less\"} readMoreStyle={{color: \"#CACACA\"}} readLessStyle={{color: \"#000\"}} \u003e\n      Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, \n      when an unknown printer took a galley of type and scrambled it to make a type specimen book\u003c/ReadMoreText\u003e\n    \u003c/View\u003e\n  );\n};\nexport default Test;\n```\n\n## Props\n\n| Prop | Type | Required | Note |\n|---|---|---|---|\n| `style` | `object or array` | no | text style\n| `seeMoreText` | `string` | no | defaults to `more`\n| `seeMoreStyle` | `object or array` | no | text style for `more` text\n| `seeLessText` | `string` | no | defaults to `less`\n| `seeLessStyle` | `object or array` | no | text style for `less` text\n| `numberOfLines` | `number` | no | defaults to `1`\n\nAny additional props can be passed down to underlying `Text` component.\n\n\n#### Drop a star :star: to this repo, if you feel it is good\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faamuizz%2Freact-native-read-more-text","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faamuizz%2Freact-native-read-more-text","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faamuizz%2Freact-native-read-more-text/lists"}