Skip to content

Commit

Permalink
Merge pull request #629 from oliviertassinari/patch-10
Browse files Browse the repository at this point in the history
Doc : fix obsolete doc of switches
  • Loading branch information
Hai Nguyen committed May 10, 2015
2 parents 2292cec + b6f6c18 commit e5dc3cb
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions docs/src/app/components/pages/components/switches.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class SwitchesPage extends React.Component {
constructor(props) {
super(props);

this.codeCheckbox =
this.codeCheckbox =
'//Checkboxes\n' +
'<Checkbox\n' +
' name="checkboxName1"\n' +
Expand All @@ -20,14 +20,14 @@ class SwitchesPage extends React.Component {
' name="checkboxName2"\n' +
' value="checkboxValue2"\n' +
' label="fed the dog"\n' +
' defaultSwitched={true} />\n' +
' defaultChecked={true} />\n' +
'<Checkbox\n' +
' name="checkboxName3"\n' +
' value="checkboxValue3"\n' +
' label="built a house on the moon"\n' +
' disabled={true} />';

this.codeRadioButton =
this.codeRadioButton =
'//Radio Buttons\n' +
'<RadioButtonGroup \n' +
' name="shipSpeed"\n' +
Expand All @@ -37,15 +37,14 @@ class SwitchesPage extends React.Component {
' label="prepare for light speed" />\n' +
' <RadioButton\n' +
' value="not_light"\n' +
' label="light speed too slow"\n' +
' defaultChecked={true} />\n' +
' label="light speed too slow" />\n' +
' <RadioButton\n' +
' value="ludicrous"\n' +
' label="go to ludicous speed"\n'+
' disabled={true}/>\n' +
'</RadioButtonGroup>';

this.codeToggle =
this.codeToggle =
'//Toggle\n' +
'<Toggle\n' +
' name="toggleName1"\n' +
Expand Down

0 comments on commit e5dc3cb

Please sign in to comment.