This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const _tabHeader:{ | |
selected: <div>{tab}</div>, | |
notSelected: <div>{tab}</div> | |
}; | |
const _tabContent = <ReviewsList | |
reviews={ _reviews } | |
loading={ this.state.showLoader }/>; | |
_tabContents.push( | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"age": 0, | |
"id": "motorola-xoom-with-wi-fi", | |
"imageUrl": "img/phones/motorola-xoom-with-wi-fi.0.jpg", | |
"name": "Motorola XOOM\u2122 with Wi-Fi", | |
"snippet": "The Next, Next Generation\r\n\r\nExperience the future with Motorola XOOM with Wi-Fi, the world's first tablet powered by Android 3.0 (Honeycomb)." | |
}, | |
{ | |
"age": 1, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 1. output for snippet | |
for (var i = 0; i < 10; i++) { | |
setTimeOut(() => { | |
console.log(i); | |
}); | |
} | |
// box model - calcuclate total width | |
div { | |
width: 320px; |