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
import React, { Component } from 'react'; | |
const TeacherIntroductions = ({ teachers }) => ( | |
<ul className="teacher-introductions"> | |
{teachers.map((teacher, index) => { | |
return <TeacherIntroduction key={`teacher-${teacher.id}`} teacher={teacher} />; | |
})} | |
</ul> | |
) |
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
import React, { Component } from 'react'; | |
import TeacherIntroductions from './components/TeacherIntroductions'; | |
import './App.css'; | |
class App extends Component { | |
render() { | |
return ( | |
<div className="App"> | |
<TeacherIntroductions /> | |
</div> |
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
--destroying and mining rocks yields ore -- load as last module | |
local math_random = math.random | |
local max_spill = 48 | |
local rock_yield = { | |
["rock-big"] = 1, | |
["rock-huge"] = 2, | |
["sand-rock-big"] = 1 | |
} |