mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-05 09:49:57 +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;
|