{"id":16797891,"url":"https://github.com/shifeng1993/react-native-overflow-view","last_synced_at":"2025-04-11T00:13:17.822Z","repository":{"id":57338906,"uuid":"133139061","full_name":"shifeng1993/react-native-overflow-view","owner":"shifeng1993","description":"一个View封装的容器组件","archived":false,"fork":false,"pushed_at":"2018-07-27T05:39:37.000Z","size":226,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-11T00:13:09.972Z","etag":null,"topics":["overflow","react-native","react-native-view"],"latest_commit_sha":null,"homepage":"","language":"Objective-C","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/shifeng1993.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2018-05-12T11:19:00.000Z","updated_at":"2020-03-10T13:41:17.000Z","dependencies_parsed_at":"2022-09-01T20:34:20.590Z","dependency_job_id":null,"html_url":"https://github.com/shifeng1993/react-native-overflow-view","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/shifeng1993%2Freact-native-overflow-view","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shifeng1993%2Freact-native-overflow-view/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shifeng1993%2Freact-native-overflow-view/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shifeng1993%2Freact-native-overflow-view/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shifeng1993","download_url":"https://codeload.github.com/shifeng1993/react-native-overflow-view/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248317730,"owners_count":21083530,"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":["overflow","react-native","react-native-view"],"created_at":"2024-10-13T09:23:52.545Z","updated_at":"2025-04-11T00:13:17.794Z","avatar_url":"https://github.com/shifeng1993.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-native-overflow-view\n[![NPM Version](https://img.shields.io/npm/v/react-native-overflow-view.svg?style=flat)](https://www.npmjs.com/package/react-native-overflow-view)\n  [![License](http://img.shields.io/npm/l/react-native-overflow-view.svg?style=flat)](https://github.com/shifeng1993/react-native-overflow-view/blob/master/LICENSE)\n  \n一个View封装的容器组件。可以使android子组件像ios一样溢出容器。\n\n## 安装步骤\n\n1. 安装依赖\n  ```bash\n  yarn add react-native-overflow-view\n  ```\n  或者\n  ```bash\n  npm install react-native-overflow-view --save\n  ```\n2. link\n```bash\n  react-native link react-native-overflow-view\n```\n\n3. 使用组件\n```javascript\nimport React, {Component} from 'react';\nimport {Text, TouchableOpacity} from 'react-native';\nimport View from 'react-native-overflow-view';\n\nexport default class Home extends Component {\n  render() {\n    return (\n      \u003cView\n        style={{\n        flex: 1,\n        justifyContent: 'center',\n        alignItems: 'center',\n        flexDirection: 'row'\n      }}\u003e\n        \u003cView\n          style={{\n          height: 400,\n          width: 300,\n          backgroundColor: '#fff',\n          position: 'relative'\n        }} removeClippedSubviews={true} \u003e\n          \u003cText style={{\n            position:'absolute',\n            right: -10\n          }}\u003e\n            helo\n          \u003c/Text\u003e\n        \u003c/View\u003e\n      \u003c/View\u003e\n    );\n  }\n}\n```\n\n## 历史版本特性\n#### 1.0.2  升级组件到rn0.56版本\n#### 1.0.1  文档bug修复\n#### 1.0.0  正式版本发布\n#### 0.1.0  测试版本\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshifeng1993%2Freact-native-overflow-view","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshifeng1993%2Freact-native-overflow-view","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshifeng1993%2Freact-native-overflow-view/lists"}