mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-25 11:40:04 +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>
|
</span>
|
||||||
) : null;
|
) : 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 (
|
return (
|
||||||
<span className={affixWrapperClassName} style={props.style}>
|
<span className={`${props.prefixCls}-affix-wrapper`} style={props.style}>
|
||||||
{prefix}
|
{prefix}
|
||||||
{cloneElement(children, { style: null })}
|
{cloneElement(children, { style: null })}
|
||||||
{suffix}
|
{suffix}
|
||||||
|
Loading…
Reference in New Issue
Block a user