mirror of
https://github.com/wassname/slider.git
synced 2026-09-09 11:35:22 +08:00
tipTransitionName is tag
This commit is contained in:
+1
-1
@@ -11,4 +11,4 @@ function onChange(v){
|
||||
|
||||
// React.render(<div style={{width:400,margin:100}}><Slider marks={["一","二","三","四","五"]} defaultIndex={2} /></div>, document.getElementById('__react-content'));
|
||||
// React.render(<div style={{width:400,margin:100}}><Slider className='rc-slider' step={20}/></div>, document.getElementById('__react-content'));
|
||||
React.render(<div style={{width:400,margin:100}}><Slider onChange={onChange}/></div>, document.getElementById('__react-content'));
|
||||
React.render(<div style={{width:400,margin:100}}><Slider onChange={onChange} tipTransitionName='zoom-down'/></div>, document.getElementById('__react-content'));
|
||||
|
||||
+1
-1
@@ -71,7 +71,7 @@ const Slider = React.createClass({
|
||||
prefixCls: 'rc-slider',
|
||||
disabled: false,
|
||||
defaultIndex: 0,
|
||||
tipTransitionName: 'zoom-down',
|
||||
tipTransitionName: '',
|
||||
};
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user