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.
19 lines
436 B
19 lines
436 B
2 years ago
|
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;
|