mapcomplete/Customizations/Questions/PhoneNumberQuestion.ts
Pieter Vander Vennet 79f8940898 Fix build
2020-07-31 17:38:03 +02:00

18 lines
No EOL
618 B
TypeScript

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