ant-design/components/slider/index.jsx

14 lines
231 B
React
Raw Normal View History

import React from 'react';
import Slider from 'rc-slider';
2015-07-13 08:00:31 +08:00
export default React.createClass({
2015-07-13 08:00:31 +08:00
getDefaultProps() {
return {
2015-07-21 00:10:13 +08:00
prefixCls: 'ant-slider'
2015-07-13 08:00:31 +08:00
};
},
render() {
return <Slider {...this.props}/>;
}
});