Fix some style

This commit is contained in:
afc163 2016-02-28 00:16:32 +08:00
parent 4953653947
commit 86b5c6eecc
2 changed files with 6 additions and 7 deletions

View File

@ -1,4 +1,5 @@
import React from 'react';
import classNames from 'classnames';
function getCheckedValue(children) {
let value = null;
@ -17,7 +18,6 @@ export default React.createClass({
return {
prefixCls: 'ant-radio-group',
disabled: false,
size: 'default',
onChange() {
},
};
@ -77,10 +77,10 @@ export default React.createClass({
}
return radio;
});
return (
<div className={`${props.prefixCls} ${props.prefixCls}-${props.size}`}>
{children}
</div>
);
const classString = classNames({
[props.prefixCls]: true,
[`${props.prefixCls}-${props.size}`]: props.size,
});
return <div className={classString}>{children}</div>;
},
});

View File

@ -110,7 +110,6 @@
input {
height: 32px;
line-height: 32px;
font-size: 14px;
}
.@{input-number-prefix-cls}-handler-up-inner {