<script>
    import ModalParaderoDetalle from "./ModalParaderoDetalle.svelte";

    export let parada = null
    let showModal = false
</script>

<div>
    <h4 class="mb-3">Detalle</h4>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <div class="text-center">
        <button class="btn btn-secondary"
            on:click|preventDefault={() => showModal = true}
        >Información</button>
    </div>
</div>

{#if showModal}
    <ModalParaderoDetalle {parada} on:close={() => showModal = false} />
{/if}