mirror of
https://github.com/ant-design/ant-design.git
synced 2026-02-09 02:49:18 +08:00
* chore: init mentions * feat: Mentions support size * chore: update demo * chore: adjust style * test: update snapshot --------- Co-authored-by: thinkasany <480968828@qq.com> Co-authored-by: 遇见同学 <1875694521@qq.com>
14 lines
432 B
TypeScript
14 lines
432 B
TypeScript
import React from 'react';
|
|
import { UserOutlined } from '@ant-design/icons';
|
|
import { Flex, Input } from 'antd';
|
|
|
|
const App: React.FC = () => (
|
|
<Flex vertical gap="middle">
|
|
<Input size="large" placeholder="large size" prefix={<UserOutlined />} />
|
|
<Input placeholder="default size" prefix={<UserOutlined />} />
|
|
<Input size="small" placeholder="small size" prefix={<UserOutlined />} />
|
|
</Flex>
|
|
);
|
|
|
|
export default App;
|