mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-16 01:41:02 +08:00
18 lines
440 B
TypeScript
18 lines
440 B
TypeScript
|
import React from 'react';
|
||
|
import { UserOutlined } from '@ant-design/icons';
|
||
|
import { Input } from 'antd';
|
||
|
|
||
|
const App: React.FC = () => (
|
||
|
<>
|
||
|
<Input size="large" placeholder="large size" prefix={<UserOutlined />} />
|
||
|
<br />
|
||
|
<br />
|
||
|
<Input placeholder="default size" prefix={<UserOutlined />} />
|
||
|
<br />
|
||
|
<br />
|
||
|
<Input size="small" placeholder="small size" prefix={<UserOutlined />} />
|
||
|
</>
|
||
|
);
|
||
|
|
||
|
export default App;
|