mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 21:19:37 +08:00
remove unused className, #6144
This commit is contained in:
parent
010860ae0f
commit
1165200dcc
@ -205,13 +205,8 @@ export default class Input extends Component<InputProps & HTMLInputProps, any> {
|
||||
</span>
|
||||
) : null;
|
||||
|
||||
// https://github.com/ant-design/ant-design/issues/6144
|
||||
const affixWrapperClassName = classNames(`${props.prefixCls}-affix-wrapper`, {
|
||||
[`${props.prefixCls}-affix-wrapper-has-height`]: (props.style && 'height' in props.style),
|
||||
});
|
||||
|
||||
return (
|
||||
<span className={affixWrapperClassName} style={props.style}>
|
||||
<span className={`${props.prefixCls}-affix-wrapper`} style={props.style}>
|
||||
{prefix}
|
||||
{cloneElement(children, { style: null })}
|
||||
{suffix}
|
||||
|
Loading…
Reference in New Issue
Block a user