forked from MapComplete/MapComplete
Themes: improve note theme, fix #2088
This commit is contained in:
parent
70117ac687
commit
e8099b9081
5 changed files with 266 additions and 189 deletions
|
@ -23,9 +23,9 @@
|
|||
export let type: ValidatorType
|
||||
export let value: UIEventSource<string | object>
|
||||
|
||||
export let feature: Feature
|
||||
export let feature: Feature = undefined
|
||||
export let args: (string | number | boolean)[] = undefined
|
||||
export let state: SpecialVisualizationState
|
||||
export let state: SpecialVisualizationState = undefined
|
||||
</script>
|
||||
|
||||
{#if type === "translation"}
|
||||
|
@ -51,4 +51,6 @@
|
|||
<SlopeInput {value} {feature} {state} />
|
||||
{:else if type === "wikidata"}
|
||||
<WikidataInputHelper {value} {feature} {state} {args} />
|
||||
{:else}
|
||||
<slot name="fallback" />
|
||||
{/if}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue