{"id":18832375,"url":"https://github.com/brainpoint/febs-react-component","last_synced_at":"2026-05-09T14:05:52.683Z","repository":{"id":57199036,"uuid":"66441250","full_name":"brainpoint/febs-react-component","owner":"brainpoint","description":"A component framework for React Native / React Web.","archived":false,"fork":false,"pushed_at":"2017-03-24T04:19:31.000Z","size":126,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-15T06:27:05.945Z","etag":null,"topics":["component","components","control","react","react-component","react-components","react-native"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brainpoint.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":"2016-08-24T07:25:41.000Z","updated_at":"2017-07-19T02:25:31.000Z","dependencies_parsed_at":"2022-09-16T15:01:28.778Z","dependency_job_id":null,"html_url":"https://github.com/brainpoint/febs-react-component","commit_stats":null,"previous_names":["brainpoint/citong-react-component"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainpoint%2Ffebs-react-component","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainpoint%2Ffebs-react-component/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainpoint%2Ffebs-react-component/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainpoint%2Ffebs-react-component/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brainpoint","download_url":"https://codeload.github.com/brainpoint/febs-react-component/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239768935,"owners_count":19693763,"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":["component","components","control","react","react-component","react-components","react-native"],"created_at":"2024-11-08T01:57:40.059Z","updated_at":"2026-01-25T09:30:17.116Z","avatar_url":"https://github.com/brainpoint.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Febs React Component\n\n\u003e A component framework for React Native / React Web.\n\n\n[![NPM](https://nodei.co/npm/febs-react-component.png?downloads=true\u0026downloadRank=true\u0026stars=true)](https://nodei.co/npm/febs-react-component/)\n\n# Install\n\nUse npm to install:\n\n```js\nnpm install febs-react-component --save\n```\n  It will copy directory `node_modules/febs-react-component` to `node_modules/react-component`\n\n# Example\n\n  see the files in path: ./demo/*.*\n  ```js\n  import React, { Component } from 'react';\n  import { AppRegistry, StyleSheet, } from 'react-native';\n\n  import { Navigator } from '../index'\n\n  class app extends Component {\n    render() {\n      return (\n        \u003cNavigator\n          ref='nav'\n          defaultTitle={{ text: 'Title', }}\n          defaultLeftButton={{ text: 'Back', }}\n          defaultRightButton={{ text: 'Forward', onPress:()=\u003ethis.refs.nav.pop() }} \n          defaultBarTintColor='#2112'\n          configureScene={(route, routeStack) =\u003e Navigator.SceneConfigs.FloatFromBottom}\n          initialRoute={{\n            title:    {text: 'My Initial Scene'}, \n            component:Page    // Page中可以使用 props. 来操作.\n          }}\n        /\u003e\n      );\n    }\n  }\n\n  const styles = StyleSheet.create({});\n  AppRegistry.registerComponent('app', () =\u003e app);\n  ```\n\n# React Native/Web compatible\n\nsee [demo](./demo).\n\n## Components\n\n* AlertView\n\n    ![](demo/ui/alertView.jpg)\n    ![](demo/ui/loadding.jpg)\n    ![](demo/ui/toast.jpg)\n\n* Button\n\n    ![](demo/ui/button.jpg)\n\n* Icons\n\n    ![](demo/ui/icons.jpg)\n\n* Navigator\n\n    ![](demo/ui/nav.jpg)\n\n* Page\n\n    ![](demo/ui/page.jpg)\n\n* RefreshListView    (from npm)\n* RefreshScrollView  (from npm)\n* TableViewCell\n\n    ![](demo/ui/tableViewCell.jpg)\n\n* TimerMgr\n    \n    timer管理; 可以在页面销毁时自动销毁存在的timer\n    统一封装 requestAnimationFrame / cancelAnimationFrame 方法\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrainpoint%2Ffebs-react-component","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrainpoint%2Ffebs-react-component","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrainpoint%2Ffebs-react-component/lists"}