mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 03:59:01 +08:00
Remove extra spaces (#13062)
This commit is contained in:
parent
20c0590db1
commit
f27653158d
@ -69,7 +69,7 @@ export default class Search extends React.Component<SearchProps, any> {
|
||||
}
|
||||
|
||||
render() {
|
||||
const { className, prefixCls, inputPrefixCls, size, suffix, enterButton, ...others } = this.props;
|
||||
const { className, prefixCls, inputPrefixCls, size, suffix, enterButton, ...others } = this.props;
|
||||
delete (others as any).onSearch;
|
||||
const buttonOrIcon = this.getButtonOrIcon();
|
||||
const searchSuffix = suffix ? [suffix, buttonOrIcon] : buttonOrIcon;
|
||||
|
Loading…
Reference in New Issue
Block a user