File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ const App = React.createClass({
60
60
< Tabs >
61
61
< TabList >
62
62
< Tab > Mario</ Tab >
63
- < Tab disabled = { true } > Luigi</ Tab >
63
+ < Tab disabled > Luigi</ Tab >
64
64
< Tab > Peach</ Tab >
65
65
< Tab > Yoshi</ Tab >
66
66
</ TabList >
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ describe('Tab', function() {
28
28
} ) ;
29
29
30
30
it ( 'should support being selected' , function ( ) {
31
- const tab = TestUtils . renderIntoDocument ( < Tab selected = { true } id = "abcd" panelId = "1234" > Hello</ Tab > ) ;
31
+ const tab = TestUtils . renderIntoDocument ( < Tab selected id = "abcd" panelId = "1234" > Hello</ Tab > ) ;
32
32
const node = findDOMNode ( tab ) ;
33
33
34
34
equal ( node . className , 'ReactTabs__Tab ReactTabs__Tab--selected' ) ;
@@ -40,7 +40,7 @@ describe('Tab', function() {
40
40
} ) ;
41
41
42
42
it ( 'should support being disabled' , function ( ) {
43
- const tab = TestUtils . renderIntoDocument ( < Tab disabled = { true } /> ) ;
43
+ const tab = TestUtils . renderIntoDocument ( < Tab disabled /> ) ;
44
44
const node = findDOMNode ( tab ) ;
45
45
46
46
equal ( node . className , 'ReactTabs__Tab ReactTabs__Tab--disabled' ) ;
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ describe('Tab', function() {
26
26
} ) ;
27
27
28
28
it ( 'should support being selected' , function ( ) {
29
- const tabPanel = TestUtils . renderIntoDocument ( < TabPanel selected = { true } id = "abcd" tabId = "1234" > Hola</ TabPanel > ) ;
29
+ const tabPanel = TestUtils . renderIntoDocument ( < TabPanel selected id = "abcd" tabId = "1234" > Hola</ TabPanel > ) ;
30
30
const node = findDOMNode ( tabPanel ) ;
31
31
32
32
equal ( node . className , 'ReactTabs__TabPanel ReactTabs__TabPanel--selected' ) ;
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ function createTabs(props = {
17
17
< Tab > Foo</ Tab >
18
18
< Tab > Bar</ Tab >
19
19
< Tab > < a > Baz</ a > </ Tab >
20
- < Tab disabled = { true } > Qux</ Tab >
20
+ < Tab disabled > Qux</ Tab >
21
21
</ TabList >
22
22
< TabPanel > Hello Foo</ TabPanel >
23
23
< TabPanel > Hello Bar</ TabPanel >
You can’t perform that action at this time.
0 commit comments