mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-05 05:28:20 +08:00
2cdf586291
* chore: fix lint * chore: fix lint * test: fix 16 * fix: lint
28 lines
484 B
TypeScript
28 lines
484 B
TypeScript
import React from 'react';
|
|
import { Breadcrumb } from 'antd';
|
|
|
|
export default () => (
|
|
<Breadcrumb
|
|
routes={[
|
|
{
|
|
path: '/home',
|
|
breadcrumbName: 'Home',
|
|
},
|
|
{
|
|
path: '/user',
|
|
breadcrumbName: 'User',
|
|
children: [
|
|
{
|
|
path: '/user1',
|
|
breadcrumbName: 'User1',
|
|
},
|
|
{
|
|
path: '/user2',
|
|
breadcrumbName: 'User2',
|
|
},
|
|
],
|
|
},
|
|
]}
|
|
/>
|
|
);
|