3.0.4 • Published 5 years ago

the-router v3.0.4

Weekly downloads
7
License
MIT
Repository
github
Last release
5 years ago

the-router

Build Status npm Version JS Standard

Router of the-components

Installation

$ npm install the-router --save

Usage

'use strict'

import React from 'react'
import { TheRouter } from 'the-router'
import { TheRoute } from 'the-route'

class ExampleComponent extends React.Component {
  render () {
    return (
      <TheRouter>
        <TheRoute path='/foo'>
          <div>
            hoge
          </div>
        </TheRoute>
      </TheRouter>
    )
  }
}

export default ExampleComponent

Components

TheRouter

Router of the-components

TheRouterStyle

Style for TheRouter

Props

NameTypeDescriptionDefault
optionsobjectStyle options{}

License

This software is released under the MIT License.

Links

3.0.4

5 years ago

3.0.3

5 years ago

3.0.2

5 years ago

3.0.1

5 years ago

3.0.0

6 years ago

2.0.13

6 years ago

2.0.12

6 years ago

2.0.11

6 years ago

2.0.10

6 years ago

2.0.9

6 years ago

2.0.8

6 years ago

2.0.7

6 years ago

2.0.6

7 years ago

2.0.5

7 years ago

2.0.4

7 years ago

2.0.3

7 years ago

2.0.2

7 years ago

2.0.1

7 years ago

2.0.0

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.11

7 years ago

1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago