mapcomplete/Customizations/Questions/bike/ShopName.ts

19 lines
493 B
TypeScript
Raw Normal View History

2020-07-21 10:14:56 +00:00
import {TagRenderingOptions} from "../../TagRendering";
import Translations from "../../../UI/i18n/Translations";
export default class ShopPump extends TagRenderingOptions {
constructor() {
2020-07-21 21:31:41 +00:00
const to = Translations.t.cyclofix.shop.qName
2020-07-21 10:14:56 +00:00
super({
priority: 5,
2020-07-21 21:31:41 +00:00
question: to.question,
2020-07-21 10:14:56 +00:00
freeform: {
key: "name",
2020-07-21 21:31:41 +00:00
renderTemplate: to.render,
template: to.template
2020-07-21 10:14:56 +00:00
}
})
}
}