mapcomplete/Customizations/Questions/bike/CafeName.ts
2020-07-29 15:55:50 +02:00

18 lines
468 B
TypeScript

import {TagRenderingOptions} from "../../TagRendering";
import Translations from "../../../UI/i18n/Translations";
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
}
})
}
}