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
.container | |
.canvas | |
.sun | |
- let totalBeams = 0; | |
while totalBeams < 8 | |
.beam | |
- totalBeams++; | |
.cloud |
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
interface CounterState { | |
count: number; | |
} | |
class App extends Component<{}, CounterState> { | |
constructor(props: any) { | |
super(props); | |
this.state = { | |
count: 0 |
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
/* Creating Components */ | |
let component = ReasonReact.statelessComponent("MyApp"); |