Polish and button functionality for traffic info page

This commit is contained in:
André Wahlberg
2020-12-08 12:28:19 +01:00
parent 3accd7806a
commit 68b6e4e836
14 changed files with 162 additions and 49 deletions

View File

@ -5,10 +5,10 @@ class TripSelector extends Component {
return (
<form>
<label>Från:</label>
<input type="text" placeholder="Hållplats/Adress/Plats" />
<input type="text" placeholder="Hållplats/Adress/Plats" defaultValue={this.props.from}/>
<hr/>
<label>Till:</label>
<input type="text" placeholder="Hållplats/Adress/Plats" />
<input type="text" placeholder="Hållplats/Adress/Plats" defaultValue={this.props.to} />
</form>
);
}