Update test page to test new Cards

This commit is contained in:
Fred Boniface 2024-07-03 11:01:29 +01:00
parent f81acf348a
commit b63c63f679

View File

@ -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 />