mirror of
https://github.com/wassname/slider.git
synced 2026-09-12 12:50:45 +08:00
test: update test case.
This commit is contained in:
@@ -10,5 +10,6 @@ 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 withDots className='rc-slider' step={20}/></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} tipTransitionName='rc-slider-tooltip-zoom-down'/></div>, document.getElementById('__react-content'));
|
||||
|
||||
Reference in New Issue
Block a user