mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-15 17:31:25 +08:00
19 lines
436 B
TypeScript
19 lines
436 B
TypeScript
|
import React from 'react';
|
||
|
import { Input } from 'antd';
|
||
|
|
||
|
const { Search } = Input;
|
||
|
|
||
|
const App: React.FC = () => (
|
||
|
<>
|
||
|
<Search placeholder="input search loading default" loading />
|
||
|
<br />
|
||
|
<br />
|
||
|
<Search placeholder="input search loading with enterButton" loading enterButton />
|
||
|
<br />
|
||
|
<br />
|
||
|
<Search placeholder="input search text" enterButton="Search" size="large" loading />
|
||
|
</>
|
||
|
);
|
||
|
|
||
|
export default App;
|