<commit_before>'use strict';

require('rc-slider/assets/index.less');

var React = require('react');
var Slider = require('rc-slider');

function onChange(v) {
  console.log(v);
}

React.render(
  <div>
    <div style={{width:400,margin:100}}>
      <Slider onChange={onChange} tipTransitionName='rc-slider-tooltip-zoom-down'/>
    </div>
    <div style={{width:400,margin:100}}>
      <Slider marks={["一","二","三","四","五"]} defaultIndex={2}/>
    </div>
    <div style={{width:400,margin:100}}>
      <Slider withDots step={20}/>
    </div>
    <div style={{width:400,margin:100}}>
      <Slider step={20}/>
    </div>
  </div>
  , document.getElementById('__react-content'));<commit_msg>update demo.<commit_after>'use strict';

require('rc-slider/assets/index.less');

var React = require('react');
var Slider = require('rc-slider');

function onChange(v) {
  console.log(v);
}

React.render(
  <div>
    <div style={{width:400,margin:100}}>
      <Slider onChange={onChange} tipTransitionName='rc-slider-tooltip-zoom-down'/>
    </div>
    <div style={{width:400,margin:100}}>
      <Slider marks={["一","二","三","四","五"]} defaultIndex={2}/>
    </div>
    <div style={{width:400,margin:100}}>
      <Slider withDots step={20}/>
    </div>
    <div style={{width:400,margin:100}}>
      <Slider step={20}/>
    </div>
    <div style={{width:400,margin:100}}>
      <p>包含关系</p>
      <Slider marks={["状态1","状态2","状态3","状态4"]} defaultIndex={1} />
    </div>
    <div style={{width:400,margin:100}}>
      <p>并列关系</p>
      <Slider marks={["状态1","状态2","状态3","状态4"]} isIncluded={false} defaultIndex={1} />
    </div>
  </div>
  , document.getElementById('__react-content'));
{'fraction_non_alphanumeric': 0.2347305389221557, 'fraction_numerical': 0.04790419161676647, 'mean_word_length': 4.033132530120482, 'pattern_counts': {'":': 0, '<': 41, '<?xml version=': 0, '>': 41, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1632699', 'n_tokens_mistral': 656, 'n_tokens_neox': 651, 'n_words': 93}