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