mapcomplete/Customizations/Questions/FixedText.ts

14 lines
362 B
TypeScript
Raw Normal View History

2020-07-07 16:39:11 +02:00
import { TagRenderingOptions } from "../TagRendering";
import {UIElement} from "../../UI/UIElement";
2020-07-07 16:39:11 +02:00
export default class FixedText extends TagRenderingOptions {
constructor(category: string | UIElement) {
2020-07-07 16:39:11 +02:00
super({
mappings: [
{
k: null, txt: category
}
]
})
}
}