mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-05 05:28:20 +08:00
31 lines
637 B
Markdown
31 lines
637 B
Markdown
---
|
|
order: 4
|
|
title:
|
|
zh-CN: 分隔符
|
|
en-US: Configuring the Separator
|
|
---
|
|
|
|
## zh-CN
|
|
|
|
使用 `separator=">"` 可以自定义分隔符。
|
|
|
|
## en-US
|
|
|
|
The separator can be customized by setting the separator property: `separator=">"`.
|
|
|
|
```tsx
|
|
import { Breadcrumb } from 'antd';
|
|
import React from 'react';
|
|
|
|
const App: React.FC = () => (
|
|
<Breadcrumb separator=">">
|
|
<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>
|
|
</Breadcrumb>
|
|
);
|
|
|
|
export default App;
|
|
```
|