<script>
    import IconLoading from "./IconLoading.svelte";
    export let loading = false;
</script>

<div class="row">
    <div class="col-auto">
        <h3 class="h3 mb-3"><slot/></h3>
    </div>
    {#if loading}
        <div class="col">
            <IconLoading />
        </div>
    {/if}
</div>
