forked from MapComplete/MapComplete
Full code cleanup
This commit is contained in:
parent
3a4a2a2016
commit
fa971ffbbf
300 changed files with 16352 additions and 19284 deletions
|
@ -3,12 +3,11 @@ import {FixedUiElement} from "./FixedUiElement";
|
|||
import {Utils} from "../../Utils";
|
||||
|
||||
export default class Title extends BaseUIElement {
|
||||
private static readonly defaultClassesPerLevel = ["", "text-3xl font-bold", "text-2xl font-bold", "text-xl font-bold", "text-lg font-bold"]
|
||||
public readonly title: BaseUIElement;
|
||||
public readonly level: number;
|
||||
public readonly id: string
|
||||
|
||||
private static readonly defaultClassesPerLevel = ["", "text-3xl font-bold", "text-2xl font-bold", "text-xl font-bold", "text-lg font-bold"]
|
||||
|
||||
constructor(embedded: string | BaseUIElement, level: number = 3) {
|
||||
super()
|
||||
if (embedded === undefined) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue