ant-design/components/slider/index.jsx
2015-08-24 16:43:54 +08:00

15 lines
270 B
JavaScript

import React from 'react';
import Slider from 'rc-slider';
export default React.createClass({
getDefaultProps() {
return {
prefixCls: 'ant-slider',
tipTransitionName: 'zoom-down'
};
},
render() {
return <Slider {...this.props} />;
}
});