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

17 lines
572 B
TypeScript

import {TagRenderingOptions} from "../TagRendering";
import {UIElement} from "../../UI/UIElement";
import Translations from "../../UI/i18n/Translations";
export default class Website extends TagRenderingOptions {
constructor(category: string | UIElement) {
super({
question: Translations.t.general.questions.websiteOf.Subs({category: category}),
freeform: {
renderTemplate: Translations.t.general.questions.websiteIs,
template: "$phone$",
key: "phone"
}
});
}
}