1
0
Fork 0
mirror of synced 2024-06-02 18:44:54 +12:00
budibase/packages/client/src/components/app/forms/FieldGroupFallback.svelte
2021-09-01 11:41:48 +01:00

14 lines
227 B
Svelte

<script>
import { getContext } from "svelte"
const fieldGroupContext = getContext("field-group")
</script>
{#if fieldGroupContext}
<slot />
{:else}
<div class="spectrum-Form--labelsAbove">
<slot />
</div>
{/if}