Skip to content

Latest commit

 

History

History
41 lines (34 loc) · 762 Bytes

search-input-loading.md

File metadata and controls

41 lines (34 loc) · 762 Bytes
order title
5
zh-CN en-US
搜索框 loading
Search box with loading

zh-CN

用于 onSearch 的时候展示 loading

en-US

Search loading when onSearch.

import { Input } from 'antd';

const { Search } = Input;

ReactDOM.render(
  <div>
    <Search placeholder="input search loading deault" loading />
    <br />
    <br />
    <Search placeholder="input search loading with suffix" loading suffix="suffix" />
    <br />
    <br />
    <Search placeholder="input search loading with enterButton" loading enterButton />
    <br />
    <br />
    <Search
      placeholder="input search loading with enterButton and addonAfter"
      loading
      enterButton
      addonAfter="addonAfter"
    />
  </div>,
  mountNode,
);