mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-12 07:09:55 +08:00
413e44a170
* feat: breadCrumb support items * feat: update snap * feat: 删除部分不支持的test case * feat: update snap * feat: update snap * feat: update snap * feat: update ts * feat: update ts * feat: update ts * feat: update for reviewer * doc: update for doc * doc: update for doc * doc: replace breadcrumbName to title * doc: replace breadcrumbName to title * doc: replace breadcrumbName to title * chore: adjust separator logic * refactor: use items * chore: update logic * chore: fix routes logic * chore: fix logic * chore: clean up * chore: adjust warning info * doc: edit test case * feat: update snap --------- Co-authored-by: 二货机器人 <smith3816@gmail.com>
37 lines
565 B
TypeScript
37 lines
565 B
TypeScript
import { Breadcrumb } from 'antd';
|
|
import React from 'react';
|
|
|
|
const App: React.FC = () => (
|
|
<Breadcrumb
|
|
separator=""
|
|
items={[
|
|
{
|
|
title: 'Location',
|
|
},
|
|
{
|
|
type: 'separator',
|
|
separator: ':',
|
|
},
|
|
{
|
|
href: '',
|
|
title: 'Application Center',
|
|
},
|
|
{
|
|
type: 'separator',
|
|
},
|
|
{
|
|
href: '',
|
|
title: 'Application List',
|
|
},
|
|
{
|
|
type: 'separator',
|
|
},
|
|
{
|
|
title: 'An Application',
|
|
},
|
|
]}
|
|
/>
|
|
);
|
|
|
|
export default App;
|