Skip to content

Commit

Permalink
Merge pull request #14 from react-component/input-props-sort
Browse files Browse the repository at this point in the history
Input props remove assign
  • Loading branch information
yiminghe committed May 19, 2016
2 parents 31a3566 + e7c60bb commit 18b0d66
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Checkbox.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,9 @@ export default class Checkbox extends React.Component {
>
<span className={`${prefixCls}-inner`} />
<input
{...props}
type={props.type}
readOnly={props.readOnly}
disabled={props.disabled}
className={`${prefixCls}-input`}
checked={!!checked}
onFocus={this.handleFocus}
Expand Down

0 comments on commit 18b0d66

Please sign in to comment.