connection modal converted

This commit is contained in:
Jan Prochazka
2021-03-04 17:55:45 +01:00
parent ce44e271ae
commit c2dc4d76ba
13 changed files with 284 additions and 25 deletions

View File

@@ -0,0 +1,14 @@
<script lang="ts">
import FormElectronFileSelectorRaw from './FormElectronFileSelectorRaw.svelte';
import { getFormContext } from './FormProviderCore.svelte';
export let label;
export let name;
export let templateProps = {};
const { template } = getFormContext();
</script>
<svelte:component this={template} type="select" {label} {...templateProps}>
<FormElectronFileSelectorRaw {name} {...$$restProps} />
</svelte:component>