mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-01 14:59:35 +08:00
22 lines
409 B
JavaScript
22 lines
409 B
JavaScript
'use strict';
|
|
|
|
var React = require('react');
|
|
var Steps = require('rc-steps');
|
|
|
|
var AntSteps = React.createClass({
|
|
getDefaultProps() {
|
|
return {
|
|
prefixCls: 'ant-steps',
|
|
size: 'default'
|
|
};
|
|
},
|
|
render() {
|
|
return (<Steps size={this.props.size} prefixCls={this.props.prefixCls}>
|
|
{this.props.children}
|
|
</Steps>);
|
|
}
|
|
});
|
|
AntSteps.Step = Steps.Step;
|
|
|
|
module.exports = AntSteps;
|