2020-07-21 01:13:51 +02:00
|
|
|
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
|
|
|
|
2020-07-14 20:18:44 +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
|
|
|
|
}
|
|
|
|
]
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|