# react-native-dj-navigation

> daojia nav

Latest version **1.0.6** (published 2016-12-17) · ISC license · 0 weekly downloads

## Install

```sh
npm install react-native-dj-navigation
pnpm add react-native-dj-navigation
yarn add react-native-dj-navigation
bun add react-native-dj-navigation
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.6 |
| Published | 2016-12-17 |
| First published | 2016-12-07 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | chenyongkun |
| Maintainers | chenyk |
| Keywords | daojia, nav |

## Links

- npm: https://www.npmjs.com/package/react-native-dj-navigation
- npm.io page: https://npm.io/package/react-native-dj-navigation

## Alternatives

- [express-promise-router](https://npm.io/package/express-promise-router.md) — 736.1K weekly downloads
- [next-usequerystate](https://npm.io/package/next-usequerystate.md) — 29.8K weekly downloads
- [@bitkyc08/opencodex](https://npm.io/package/@bitkyc08/opencodex.md) — 4.6K weekly downloads
- [lynkr](https://npm.io/package/lynkr.md) — 575 weekly downloads
- [baremetal.js](https://npm.io/package/baremetal.js.md) — 42 weekly downloads

## Recent versions

- 1.0.6 (latest) — 2016-12-17
- 1.0.5 — 2016-12-14
- 1.0.4 — 2016-12-09
- 1.0.3 — 2016-12-07
- 1.0.2 — 2016-12-07
- 1.0.1 — 2016-12-07
- 1.0.0 — 2016-12-07

## README

# Navigation

![accordion](http://images.daojia.com/img/383d513f83b39cc63e9d7b3773dc88ed.png)

## Install
```shell
npm i --save react-native-dj-navigation
```

## Usage
Using in your app will usually look like this:
```js
//入口
import React, {Component} from 'react';
import {
    AppRegistry,
} from 'react-native';

import {NavPage} from 'react-native-dj-navigation';
import First from './first';
class AwesomeProject extends Component {
    
    render() {
        return (
            <NavPage params={{}} defaultName="123" defaultComponent={First}/>
        );
    };
}
AppRegistry.registerComponent('xxx', () => NPMTest);

//第一个页面
import React, {Component} from 'react';
import {
    AppRegistry,
    Text,
    View,
} from 'react-native';
import {DefaultNavView} from 'react-native-dj-navigation';

export default class First extends Component {
    render() {
        return (
            <View>
            <DefaultNavView {...this.props} title={'测试'} hiddenBack ={true}></DefaultNavView>
              <Text>第一个页面</Text>
            </View>
        );
    };
}

```

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