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",
|
placeholder: "Enter CRS/TIPLOC/STANOX",
|
||||||
maxLen: 7,
|
maxLen: 7,
|
||||||
formAction: "/ldb/",
|
formAction: "/ldb/",
|
||||||
fieldName: "station"
|
fieldName: "station",
|
||||||
};
|
};
|
||||||
|
|
||||||
let TimetableConfig: LookupCardConfig = {
|
let TimetableConfig: LookupCardConfig = {
|
||||||
@ -27,8 +27,8 @@
|
|||||||
placeholder: "Enter headcode",
|
placeholder: "Enter headcode",
|
||||||
maxLen: 4,
|
maxLen: 4,
|
||||||
formAction: "/train/",
|
formAction: "/train/",
|
||||||
fieldName: "headcode"
|
fieldName: "headcode",
|
||||||
}
|
};
|
||||||
|
|
||||||
function onRefresh() {
|
function onRefresh() {
|
||||||
console.log("Refresh");
|
console.log("Refresh");
|
||||||
@ -37,4 +37,4 @@
|
|||||||
|
|
||||||
<LookupCard config={LookupConfig} />
|
<LookupCard config={LookupConfig} />
|
||||||
<LookupCard config={TimetableConfig} />
|
<LookupCard config={TimetableConfig} />
|
||||||
<NearToMeCard />
|
<NearToMeCard />
|
||||||
|
Loading…
Reference in New Issue
Block a user