mapcomplete/Customizations/Questions/FixedText.ts

15 lines
422 B
TypeScript
Raw Normal View History

import {UIElement} from "../../UI/UIElement";
2020-07-31 17:38:03 +02:00
import {TagRenderingOptions} from "../TagRenderingOptions";
2020-08-22 03:15:42 +02:00
import Translation from "../../UI/i18n/Translation";
2020-07-07 16:39:11 +02:00
export default class FixedText extends TagRenderingOptions {
2020-08-22 03:15:42 +02:00
constructor(category: string | Translation) {
2020-07-07 16:39:11 +02:00
super({
mappings: [
{
k: null, txt: category
}
]
})
}
}