<script lang="ts">
    export let title: string = "";
    export let location: string = "";
    export let description: string = "";
    export let isConfirmation: boolean = false;
    export let date: Date = new Date();
    export let time: string = "";
</script>


<article class="bottom-margin">
    <h5>{title}</h5>
    <p><i>pin_drop</i> {location}</p>
    <p><i>description</i> {description}</p>
    {#if isConfirmation}
        <p><i>event</i> {date}</p>
        <p><i>schedule</i> {time}</p>
    {/if}
</article>  