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({
6060 < Tabs >
6161 < TabList >
6262 < Tab > Mario</ Tab >
63- < Tab disabled = { true } > Luigi</ Tab >
63+ < Tab disabled > Luigi</ Tab >
6464 < Tab > Peach</ Tab >
6565 < Tab > Yoshi</ Tab >
6666 </ TabList >
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ describe('Tab', function() {
2828 } ) ;
2929
3030 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 > ) ;
3232 const node = findDOMNode ( tab ) ;
3333
3434 equal ( node . className , 'ReactTabs__Tab ReactTabs__Tab--selected' ) ;
@@ -40,7 +40,7 @@ describe('Tab', function() {
4040 } ) ;
4141
4242 it ( 'should support being disabled' , function ( ) {
43- const tab = TestUtils . renderIntoDocument ( < Tab disabled = { true } /> ) ;
43+ const tab = TestUtils . renderIntoDocument ( < Tab disabled /> ) ;
4444 const node = findDOMNode ( tab ) ;
4545
4646 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() {
2626 } ) ;
2727
2828 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 > ) ;
3030 const node = findDOMNode ( tabPanel ) ;
3131
3232 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 = {
1717 < Tab > Foo</ Tab >
1818 < Tab > Bar</ Tab >
1919 < Tab > < a > Baz</ a > </ Tab >
20- < Tab disabled = { true } > Qux</ Tab >
20+ < Tab disabled > Qux</ Tab >
2121 </ TabList >
2222 < TabPanel > Hello Foo</ TabPanel >
2323 < TabPanel > Hello Bar</ TabPanel >
You can’t perform that action at this time.
0 commit comments