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', }, ], }, ]} /> );