File tree Expand file tree Collapse file tree 4 files changed +11
-11
lines changed
src/components/modules/checkbox/examples Expand file tree Collapse file tree 4 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ class MyCheckboxes extends React.Component {
38
38
< Field >
39
39
< Checkbox
40
40
disabled
41
- radio
41
+ type = " radio"
42
42
checked = { isRadio }
43
43
onClick = { this . onClickCheckbox . bind ( this , 'isRadio' ) }
44
44
>
@@ -48,7 +48,7 @@ class MyCheckboxes extends React.Component {
48
48
< Field >
49
49
< Checkbox
50
50
disabled
51
- slider
51
+ type = " slider"
52
52
checked = { isSlider }
53
53
onClick = { this . onClickCheckbox . bind ( this , 'isSlider' ) }
54
54
>
@@ -58,7 +58,7 @@ class MyCheckboxes extends React.Component {
58
58
< Field >
59
59
< Checkbox
60
60
disabled
61
- toggle
61
+ type = " toggle"
62
62
checked = { isToggle }
63
63
onClick = { this . onClickCheckbox . bind ( this , 'isToggle' ) }
64
64
>
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ class MyRadios extends React.Component {
28
28
< label > Omg bananas!</ label >
29
29
< Field >
30
30
< Checkbox
31
- radio
31
+ type = " radio"
32
32
checked = { value === 'one' }
33
33
onClick = { this . onClickRadio . bind ( this , 'one' ) }
34
34
>
@@ -37,7 +37,7 @@ class MyRadios extends React.Component {
37
37
</ Field >
38
38
< Field >
39
39
< Checkbox
40
- radio
40
+ type = " radio"
41
41
checked = { value === 'two' }
42
42
onClick = { this . onClickRadio . bind ( this , 'two' ) }
43
43
>
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ class MyCheckboxes extends React.Component {
38
38
< Field >
39
39
< Checkbox
40
40
readOnly
41
- radio
41
+ type = " radio"
42
42
checked = { isRadio }
43
43
onClick = { this . onClickCheckbox . bind ( this , 'isRadio' ) }
44
44
>
@@ -48,7 +48,7 @@ class MyCheckboxes extends React.Component {
48
48
< Field >
49
49
< Checkbox
50
50
readOnly
51
- slider
51
+ type = " slider"
52
52
checked = { isSlider }
53
53
onClick = { this . onClickCheckbox . bind ( this , 'isSlider' ) }
54
54
>
@@ -58,7 +58,7 @@ class MyCheckboxes extends React.Component {
58
58
< Field >
59
59
< Checkbox
60
60
readOnly
61
- toggle
61
+ type = " toggle"
62
62
checked = { isToggle }
63
63
onClick = { this . onClickCheckbox . bind ( this , 'isToggle' ) }
64
64
>
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ class MyCheckboxes extends React.Component {
36
36
</ Field >
37
37
< Field >
38
38
< Checkbox
39
- radio
39
+ type = " radio"
40
40
checked = { isRadio }
41
41
onClick = { this . onClickCheckbox . bind ( this , 'isRadio' ) }
42
42
>
@@ -45,7 +45,7 @@ class MyCheckboxes extends React.Component {
45
45
</ Field >
46
46
< Field >
47
47
< Checkbox
48
- slider
48
+ type = " slider"
49
49
checked = { isSlider }
50
50
onClick = { this . onClickCheckbox . bind ( this , 'isSlider' ) }
51
51
>
@@ -54,7 +54,7 @@ class MyCheckboxes extends React.Component {
54
54
</ Field >
55
55
< Field >
56
56
< Checkbox
57
- toggle
57
+ type = " toggle"
58
58
checked = { isToggle }
59
59
onClick = { this . onClickCheckbox . bind ( this , 'isToggle' ) }
60
60
>
You can’t perform that action at this time.
0 commit comments