mapcomplete/Customizations/Questions/bike/ShopName.ts

19 lines
493 B
TypeScript
Raw Normal View History

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