Skip to content

magic-coder/react-router-bootstrap

Repository files navigation

react-router-bootstrap

Integration between React Router and React-Bootstrap.

Build Status npm version

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 install react-router-bootstrap

You will also want to have React Router and React-Bootstrap.

npm install react-router react-bootstrap

Contributing

See CONTRIBUTING.

About

Integration between React Router and React-Bootstrap

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%