forked from MapComplete/MapComplete
Add presets to custom theme generator, fix simpleAddUI
This commit is contained in:
parent
9a420efa98
commit
3d05999f85
10 changed files with 90 additions and 36 deletions
19
test.ts
19
test.ts
|
@ -1,19 +1,4 @@
|
|||
import TagRenderingPanel from "./UI/CustomGenerator/TagRenderingPanel";
|
||||
import {UIEventSource} from "./Logic/UIEventSource";
|
||||
import {TextField} from "./UI/Input/TextField";
|
||||
import {VariableUiElement} from "./UI/Base/VariableUIElement";
|
||||
import SettingsTable from "./UI/CustomGenerator/SettingsTable";
|
||||
import SingleSetting from "./UI/CustomGenerator/SingleSetting";
|
||||
import {MultiInput} from "./UI/Input/MultiInput";
|
||||
import BikeCafes from "./Customizations/Layers/BikeCafes";
|
||||
|
||||
|
||||
const config = new UIEventSource({})
|
||||
const languages = new UIEventSource(["en","nl"]);
|
||||
new MultiInput(
|
||||
() => "Add a tag rendering",
|
||||
() => new TagRenderingPanel(
|
||||
|
||||
)
|
||||
|
||||
|
||||
)
|
||||
console.log(JSON.stringify(new BikeCafes()))
|
Loading…
Add table
Add a link
Reference in a new issue