mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-25 03:29:59 +08:00
15 lines
270 B
JavaScript
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} />;
|
|
}
|
|
});
|