mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-21 13:18:04 +08:00
20 lines
277 B
TypeScript
20 lines
277 B
TypeScript
|
import React from 'react';
|
||
|
import { Breadcrumb } from 'antd';
|
||
|
|
||
|
const App: React.FC = () => (
|
||
|
<Breadcrumb
|
||
|
items={[
|
||
|
{
|
||
|
title: 'Users',
|
||
|
},
|
||
|
{
|
||
|
title: ':id',
|
||
|
href: '',
|
||
|
},
|
||
|
]}
|
||
|
params={{ id: 1 }}
|
||
|
/>
|
||
|
);
|
||
|
|
||
|
export default App;
|