Update test page to test new Cards
This commit is contained in:
parent
f81acf348a
commit
b63c63f679
@ -18,7 +18,7 @@
|
||||
placeholder: "Enter CRS/TIPLOC/STANOX",
|
||||
maxLen: 7,
|
||||
formAction: "/ldb/",
|
||||
fieldName: "station"
|
||||
fieldName: "station",
|
||||
};
|
||||
|
||||
let TimetableConfig: LookupCardConfig = {
|
||||
@ -27,8 +27,8 @@
|
||||
placeholder: "Enter headcode",
|
||||
maxLen: 4,
|
||||
formAction: "/train/",
|
||||
fieldName: "headcode"
|
||||
}
|
||||
fieldName: "headcode",
|
||||
};
|
||||
|
||||
function onRefresh() {
|
||||
console.log("Refresh");
|
||||
@ -37,4 +37,4 @@
|
||||
|
||||
<LookupCard config={LookupConfig} />
|
||||
<LookupCard config={TimetableConfig} />
|
||||
<NearToMeCard />
|
||||
<NearToMeCard />
|
||||
|
Loading…
Reference in New Issue
Block a user