2016-03-31 09:40:55 +08:00
|
|
|
---
|
2017-04-06 14:10:01 +08:00
|
|
|
order: 4
|
2019-05-07 14:57:32 +08:00
|
|
|
title:
|
2016-06-19 11:14:21 +08:00
|
|
|
zh-CN: 分隔符
|
|
|
|
en-US: Configuring the Separator
|
2016-03-31 09:40:55 +08:00
|
|
|
---
|
2015-12-07 12:13:13 +08:00
|
|
|
|
2016-06-19 11:14:21 +08:00
|
|
|
## zh-CN
|
|
|
|
|
2015-12-09 16:48:52 +08:00
|
|
|
使用 `separator=">"` 可以自定义分隔符。
|
2015-12-07 12:13:13 +08:00
|
|
|
|
2016-06-19 11:14:21 +08:00
|
|
|
## en-US
|
|
|
|
|
2020-08-18 17:53:21 +08:00
|
|
|
The separator can be customized by setting the separator property: `separator=">"`.
|
2016-06-19 11:14:21 +08:00
|
|
|
|
2022-05-19 09:46:26 +08:00
|
|
|
```tsx
|
2015-12-07 12:13:13 +08:00
|
|
|
import { Breadcrumb } from 'antd';
|
2022-05-21 22:14:15 +08:00
|
|
|
import React from 'react';
|
2015-12-07 12:13:13 +08:00
|
|
|
|
2022-05-19 09:46:26 +08:00
|
|
|
const App: React.FC = () => (
|
2015-12-09 16:48:52 +08:00
|
|
|
<Breadcrumb separator=">">
|
2016-06-19 11:14:21 +08:00
|
|
|
<Breadcrumb.Item>Home</Breadcrumb.Item>
|
|
|
|
<Breadcrumb.Item href="">Application Center</Breadcrumb.Item>
|
|
|
|
<Breadcrumb.Item href="">Application List</Breadcrumb.Item>
|
|
|
|
<Breadcrumb.Item>An Application</Breadcrumb.Item>
|
2022-04-03 23:27:45 +08:00
|
|
|
</Breadcrumb>
|
2018-11-28 15:00:03 +08:00
|
|
|
);
|
2022-05-19 09:46:26 +08:00
|
|
|
|
|
|
|
export default App;
|
2019-05-07 14:57:32 +08:00
|
|
|
```
|