ant-design/components/breadcrumb/demo/separator.md
2018-11-28 15:11:02 +08:00

589 B

order title
4
zh-CN en-US
分隔符 Configuring the Separator

zh-CN

使用 separator=">" 可以自定义分隔符。

en-US

The separator can be customized by setting the separator property: separator=">"

import { Breadcrumb } from 'antd';

ReactDOM.render(
  <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>,
  mountNode
);