<commit_before>var React = require('react');
var mui = require('mui');
var Checkbox = mui.Checkbox;
var RadioButton = mui.RadioButton;
var RadioButtonGroup = mui.RadioButtonGroup;
var Toggle = mui.Toggle;
var CodeExample = require('../../code-example/code-example.jsx');
var ComponentDoc = require('../../component-doc.jsx');
var RaisedButton = mui.RaisedButton;

var SwitchesPage = React.createClass({

  render: function() {

    var code = 
      '//Checkboxes\n' +
      '<Checkbox\n' +
      '  name="checkboxName1"\n' +
      '  value="checkboxValue1"\n' +
      '  label="went for a run today" />\n' +
      '<Checkbox\n' +
      '  name="checkboxName2"\n' +
      '  value="checkboxValue2"\n' + 
      '  label="fed the dog"\n' +
      '  defaultChecked={true} />\n' +
      '<Checkbox\n' +
      '  name="checkboxName3"\n' +
      '  value="checkboxValue3"\n' + 
      '  label="built a house on the moon"\n' +
      '  disabled={true} />\n\n' +
      '//Radio Buttons\n' +
      '<RadioButtonGroup \n' +
      '  name="shipSpeed"\n' +
      '  defaultSelected="not_light">\n' +
      '    <RadioButton\n' +
      '      value="light"\n' +
      '      label="prepare for light speed" />\n' +
      '    <RadioButton\n' +<commit_msg>Update switches.jsx<commit_after>var React = require('react');
var mui = require('mui');
var Checkbox = mui.Checkbox;
var RadioButton = mui.RadioButton;
var RadioButtonGroup = mui.RadioButtonGroup;
var Toggle = mui.Toggle;
var CodeExample = require('../../code-example/code-example.jsx');
var ComponentDoc = require('../../component-doc.jsx');
var RaisedButton = mui.RaisedButton;

var SwitchesPage = React.createClass({

  render: function() {

    var code = 
      '//Checkboxes\n' +
      '<Checkbox\n' +
      '  name="checkboxName1"\n' +
      '  value="checkboxValue1"\n' +
      '  label="went for a run today" />\n' +
      '<Checkbox\n' +
      '  name="checkboxName2"\n' +
      '  value="checkboxValue2"\n' + 
      '  label="fed the dog"\n' +
      '  defaultSwitched={true} />\n' +
      '<Checkbox\n' +
      '  name="checkboxName3"\n' +
      '  value="checkboxValue3"\n' + 
      '  label="built a house on the moon"\n' +
      '  disabled={true} />\n\n' +
      '//Radio Buttons\n' +
      '<RadioButtonGroup \n' +
      '  name="shipSpeed"\n' +
      '  defaultSelected="not_light">\n' +
      '    <RadioButton\n' +
      '      value="light"\n' +
      '      label="prepare for light speed" />\n' +
      '    <RadioButton\n' +
{'fraction_non_alphanumeric': 0.1818546768366118, 'fraction_numerical': 0.004817342432757929, 'mean_word_length': 2.4183813443072704, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 13, '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': '3829378', 'n_tokens_mistral': 879, 'n_tokens_neox': 869, 'n_words': 155}