---
order: 2
iframe: true
title:
zh-CN: 路由
en-US: React Router Integration
---
## zh-CN
和 `react-router@2.x` 进行结合使用。
## en-US
Used together with `react-router@2.x`.
````jsx
import { Router, Route, Link, hashHistory } from 'react-router';
import { Breadcrumb } from 'antd';
const Apps = () => (
-
Application1:Detail
-
Application2:Detail
);
const Home = props => (
Home
Application List
{props.children || 'Home'}
Click the navigation above to switch:
);
ReactDOM.render(
, mountNode);
````
````css
#components-breadcrumb-demo-router iframe {
height: 180px;
}
.demo-nav {
height: 30px;
line-height: 30px;
margin-bottom: 15px;
background: #f8f8f8;
}
.demo-nav a {
line-height: 30px;
padding: 0 10px;
}
.app-list {
margin-top: 15px;
}
````