mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-25 11:40:04 +08:00
b34269a6b1
convert var to const fix bug fix bug fix for jshint fix import
14 lines
231 B
JavaScript
14 lines
231 B
JavaScript
import React from 'react';
|
|
import Slider from 'rc-slider';
|
|
|
|
export default React.createClass({
|
|
getDefaultProps() {
|
|
return {
|
|
prefixCls: 'ant-slider'
|
|
};
|
|
},
|
|
render() {
|
|
return <Slider {...this.props}/>;
|
|
}
|
|
});
|