mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 02:59:04 +08:00
update steps
This commit is contained in:
parent
20ae732f14
commit
058199ed2c
@ -2,7 +2,7 @@
|
||||
|
||||
- order: 1
|
||||
|
||||
迷你版的步骤条,通过设置`<Steps size='small'>`启用.
|
||||
迷你版的步骤条,通过设置 `<Steps size="small">` 启用.
|
||||
|
||||
---
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user