mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-12 15:19:58 +08:00
473 B
473 B
order | title | ||||
---|---|---|---|---|---|
5 |
|
zh-CN
用于 onSearch
的时候展示 loading
。
en-US
Search loading when onSearch.
import { Input } from 'antd';
const { Search } = Input;
ReactDOM.render(
<>
<Search placeholder="input search loading default" loading />
<br />
<br />
<Search placeholder="input search loading with enterButton" loading enterButton />
</>,
mountNode,
);