|
|
@ -13,8 +13,8 @@ const Group: React.StatelessComponent<GroupProps> = (props) => {
|
|
|
|
const { prefixCls = 'ant-input-group', className = '' } = props;
|
|
|
|
const { prefixCls = 'ant-input-group', className = '' } = props;
|
|
|
|
const cls = classNames({
|
|
|
|
const cls = classNames({
|
|
|
|
[prefixCls]: true,
|
|
|
|
[prefixCls]: true,
|
|
|
|
[`${props.prefixCls}-lg`]: props.size === 'large',
|
|
|
|
[`${prefixCls}-lg`]: props.size === 'large',
|
|
|
|
[`${props.prefixCls}-sm`]: props.size === 'small',
|
|
|
|
[`${prefixCls}-sm`]: props.size === 'small',
|
|
|
|
[className]: !!className,
|
|
|
|
[className]: !!className,
|
|
|
|
});
|
|
|
|
});
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|