Add ship picker

This commit is contained in:
Cmdr McDonald
2017-03-11 17:57:03 +00:00
parent 067b69f449
commit 3b35d5030e
22 changed files with 361 additions and 31 deletions

View File

@@ -8,7 +8,7 @@ import Slider from '../components/Slider';
* Requires an onChange() function of the form onChange(fuel), providing the fuel in tonnes, which is triggered on fuel level change
*/
export default class Fuel extends TranslatedComponent {
static PropTypes = {
static propTypes = {
ship: React.PropTypes.object.isRequired,
onChange: React.PropTypes.func.isRequired
};