2.0.0-alpha.10 • Published 6 years ago

react-router-navigation v2.0.0-alpha.10

Weekly downloads
3,342
License
MIT
Repository
github
Last release
6 years ago

react-router-navigation

Declarative routing for React Native based on react-router and react-navigation.

How to use

Install:

$ yarn add react-router react-router-native react-router-navigation

And then, enjoy it:

import * as React from 'react'
import { Text } from 'react-native'
import { NativeRouter, Link } from 'react-router-native'
import { Navigation, Card } from 'react-router-navigation'

const App = () => (
  <NativeRouter>
    <Navigation>
      <Card
        exact
        path="/"
        render={() => (
          <Link to="/hello">
            <Text>Press it</Text>
          </Link>
        )}
      />
      <Card
        path="/hello"
        render={() => <Text>Hello</Text>}
      />
    </Navigation>
  </NativeRouter>
)

Questions

If you have any questions, feel free to get in touch on Twitter @Leo_LeBras or open an issue.

Credits

React Router Navigation is built and maintained by Léo Le Bras.

2.0.0-alpha.10

6 years ago

2.0.0-alpha.9

6 years ago

2.0.0-alpha.8

6 years ago

2.0.0-alpha.7

6 years ago

2.0.0-alpha.6

6 years ago

2.0.0-alpha.5

6 years ago

2.0.0-alpha.4

6 years ago

2.0.0-alpha.3

6 years ago

2.0.0-alpha.2

6 years ago

1.0.0-rc.5

7 years ago

1.0.0-rc.4

7 years ago

1.0.0-rc.3

7 years ago

1.0.0-rc.2

8 years ago

1.0.0-rc.0

8 years ago

1.0.0-beta.4

8 years ago

1.0.0-rc.1

8 years ago

1.0.0-beta.3

8 years ago

1.0.0-beta.2

8 years ago

1.0.0-beta.1

8 years ago

1.0.0-alpha.7

8 years ago

1.0.0-alpha.6

8 years ago

1.0.0-alpha.5

8 years ago

1.0.0-alpha.4

8 years ago

1.0.0-alpha.3

8 years ago