mapcomplete/Customizations/Questions/bike/CafeName.ts

18 lines
475 B
TypeScript
Raw Normal View History

2020-07-29 15:55:50 +02:00
import Translations from "../../../UI/i18n/Translations";
2020-07-31 17:38:03 +02:00
import {TagRenderingOptions} from "../../TagRenderingOptions";
2020-07-29 15:55:50 +02:00
export default class CafeName extends TagRenderingOptions {
constructor() {
const to = Translations.t.cyclofix.cafe.qName
super({
question: to.question,
freeform: {
key: "name",
renderTemplate: to.render,
template: to.template
}
})
}
}