update steps

This commit is contained in:
afc163 2015-09-01 17:43:08 +08:00
parent 20ae732f14
commit 058199ed2c
4 changed files with 13 additions and 10 deletions

View File

@ -2,7 +2,7 @@
- order: 1
迷你版的步骤条,通过设置`<Steps size='small'>`启用.
迷你版的步骤条,通过设置 `<Steps size="small">` 启用.
---

View File

@ -11,15 +11,18 @@ const AntSteps = React.createClass({
};
},
render() {
return (<Steps size={this.props.size}
return (
<Steps size={this.props.size}
direction={this.props.direction}
iconPrefix={this.props.iconPrefix}
maxDescriptionWidth={this.props.maxDescriptionWidth}
prefixCls={this.props.prefixCls}>
{this.props.children}
</Steps>);
</Steps>
);
}
});
AntSteps.Step = Steps.Step;
export default AntSteps;