mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-20 12:28:10 +08:00
16 lines
267 B
JavaScript
16 lines
267 B
JavaScript
var React = require('react');
|
|
var Slider = require('rc-slider');
|
|
|
|
var AntSlider = React.createClass({
|
|
getDefaultProps() {
|
|
return {
|
|
prefixCls: 'ant-slider'
|
|
};
|
|
},
|
|
render() {
|
|
return <Slider {...this.props}/>;
|
|
}
|
|
});
|
|
|
|
module.exports = AntSlider;
|