Minor modifications to Example API components and base classes

This commit is contained in:
williameriksson126
2020-12-08 09:13:38 +01:00
parent c36d6afea7
commit 31263e919e
6 changed files with 51 additions and 11 deletions

View File

@ -0,0 +1,19 @@
import React, {Component} from 'react';
class StopComponent extends Component {
render() {
return (
<div>
<h1>
{this.props.stop.name},
{this.props.stop.id},
{this.props.stop.lat},
{this.props.stop.lon},
{this.props.stop.track}
</h1>
</div>
);
}
}
// TODO Add css
export default StopComponent