You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
440 B
18 lines
440 B
2 years ago
|
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;
|