# citong-react-component

> > A component framework for React Native / React Web.

Latest version **0.2.4** (published 2017-01-12) · BSD-3-Clause license · 0 weekly downloads

## Install

```sh
npm install citong-react-component
pnpm add citong-react-component
yarn add citong-react-component
bun add citong-react-component
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.4 |
| Published | 2017-01-12 |
| First published | 2016-08-24 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Maintainers | brainpoint |
| Keywords | react-native, react, citong-react-web, citong-react-component |

## Links

- npm: https://www.npmjs.com/package/citong-react-component
- Repository: https://github.com/brainpoint/citong-react-component
- Homepage: https://github.com/brainpoint/citong-react-component#readme
- Issues: https://github.com/brainpoint/citong-react-component/issues
- npm.io page: https://npm.io/package/citong-react-component

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 0.2.4 (latest) — 2017-01-12
- 0.2.3 — 2017-01-03
- 0.2.2 — 2016-11-18
- 0.2.1 — 2016-11-10
- 0.2.0 — 2016-11-07
- 0.1.9 — 2016-10-28
- 0.1.8 — 2016-10-26
- 0.1.6 — 2016-10-26
- 0.1.5 — 2016-10-26
- 0.1.1 — 2016-09-04
- 0.1.0 — 2016-09-03
- 0.0.4 — 2016-09-02
- 0.0.3 — 2016-08-26
- 0.0.2 — 2016-08-26
- 0.0.1 — 2016-08-24

## README

# Citong React Component

> A component framework for React Native / React Web.

### example
  see the files in path: ./demo/*.*
  ```js
  import React, { Component } from 'react';
  import { AppRegistry, StyleSheet, } from 'react-native';

  import { Navigator } from '../index'

  class app extends Component {
    render() {
      return (
        <Navigator
          ref='nav'
          defaultTitle={{ text: 'Title', }}
          defaultLeftButton={{ text: 'Back', }}
          defaultRightButton={{ text: 'Forward', onPress:()=>this.refs.nav.pop() }} 
          defaultBarTintColor='#2112'
          configureScene={(route, routeStack) => Navigator.SceneConfigs.FloatFromBottom}
          initialRoute={{
            title:    {text: 'My Initial Scene'}, 
            component:Page    // Page中可以使用 props. 来操作.
          }}
        />
      );
    }
  }

  const styles = StyleSheet.create({});
  AppRegistry.registerComponent('app', () => app);
  ```

### React Native/Web compatible

see demo.

#### Components
* AlertView
* Button
* Icons
* Navigator
* Page
* RefreshListView    (from npm)
* RefreshScrollView  (from npm)
* TableViewCell
* TimerMgr

---
_Source: https://npm.io/package/citong-react-component · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
