mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-22 22:48:29 +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;
|