mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 02:59:58 +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() {
|
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;
|
delete (others as any).onSearch;
|
||||||
const buttonOrIcon = this.getButtonOrIcon();
|
const buttonOrIcon = this.getButtonOrIcon();
|
||||||
const searchSuffix = suffix ? [suffix, buttonOrIcon] : buttonOrIcon;
|
const searchSuffix = suffix ? [suffix, buttonOrIcon] : buttonOrIcon;
|
||||||
|
Loading…
Reference in New Issue
Block a user