ant-design/components/breadcrumb/demo/react-router.md

33 lines
438 B
Markdown
Raw Normal View History

## zh-CN
`react-router@6+` 结合使用,生成和路由绑定的面包屑。
## en-US
Used together with `react-router@6+`.
2019-05-07 14:57:32 +08:00
```css
.demo {
margin: 16px;
}
.demo-nav {
height: 30px;
margin-bottom: 16px;
line-height: 30px;
background: #f8f8f8;
}
.demo-nav a {
padding: 0 8px;
line-height: 30px;
}
.app-list {
margin-top: 16px;
}
2019-05-07 14:57:32 +08:00
```
<style>
[data-theme="dark"] .demo-nav {
background: #141414;
}
</style>