mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-14 16:19:15 +08:00
ecb36840bf
* feat: descriptions implement items api * docs: add jsx debug demo * refactor: add useRow hook * Update components/descriptions/index.tsx Co-authored-by: Wuxh <wxh1220@gmail.com> Signed-off-by: 红果汁 <pingfj77@gmail.com> * Update components/descriptions/index.zh-CN.md Co-authored-by: Wuxh <wxh1220@gmail.com> Signed-off-by: 红果汁 <pingfj77@gmail.com> * Update components/descriptions/index.en-US.md Co-authored-by: Wuxh <wxh1220@gmail.com> Signed-off-by: 红果汁 <pingfj77@gmail.com> * fix: decrease in coverage * refactor: enhancement code --------- Signed-off-by: 红果汁 <pingfj77@gmail.com> Co-authored-by: Wuxh <wxh1220@gmail.com>
17 lines
589 B
TypeScript
17 lines
589 B
TypeScript
import { Descriptions } from 'antd';
|
|
import React from 'react';
|
|
|
|
const App: React.FC = () => (
|
|
<Descriptions title="User Info">
|
|
<Descriptions.Item label="UserName">Zhou Maomao</Descriptions.Item>
|
|
<Descriptions.Item label="Telephone">1810000000</Descriptions.Item>
|
|
<Descriptions.Item label="Live">Hangzhou, Zhejiang</Descriptions.Item>
|
|
<Descriptions.Item label="Remark">empty</Descriptions.Item>
|
|
<Descriptions.Item label="Address">
|
|
No. 18, Wantang Road, Xihu District, Hangzhou, Zhejiang, China
|
|
</Descriptions.Item>
|
|
</Descriptions>
|
|
);
|
|
|
|
export default App;
|