Proyectos
Ver en GitHub react-router-bootstrap
react-bootstrap/react-router-bootstrap
Acerca de
Integración entre React Router y React-Bootstrap
Desarrollo web y de aplicacionesCrecimiento de estrellas medido
- in 24h
- 0
- in 7 days
- -2
- in 15 days
- -2
- in 1 month
- -1
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
Originalreact-router-bootstrap 
Integration between React Router v6 and React Bootstrap.
Installation
For React Router v6:
npm install -S react-router-bootstrap
For React Router v4 or v5 (see rr-v4 branch):
npm install -S react-router-bootstrap@rr-v4
For React Router v3 or lower (see rr-v3 branch):
npm install -S react-router-bootstrap@rr-v3
Usage
Wrap your React Bootstrap element in a <LinkContainer> to make it behave like a React Router <Link>
<LinkContainer> accepts same parameters as React Router's <NavLink>
Example
Following plain React Bootstrap component
<Button href="/foo/bar">Foo</Button>
becomes
import { LinkContainer } from 'react-router-bootstrap'
<LinkContainer to="/foo/bar">
<Button>Foo</Button>
</LinkContainer>
Contributing
See CONTRIBUTING.
Explorar proyectos relacionados
Cargando…