Skip to content

sponsorama/react-router-bootstrap

 
 

Repository files navigation

react-router-bootstrap Travis npm

Integration between React Router and React-Bootstrap.

Usage

Wrap your React-Bootstrap element in a <LinkContainer> to make it behave like a React Router <Link>:

<LinkContainer to={{ pathname: '/foo', query: { bar: 'baz' } }}>
  <Button>Foo</Button>
</LinkContainer>

For the equivalent of <IndexLink>, use <IndexLinkContainer>.

Installation

$ npm i -S react react-dom react-router react-bootstrap
$ npm i -S react-router-bootstrap

Contributing

See CONTRIBUTING.

About

Integration between React Router and React-Bootstrap

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%