<script>
  import Island from '$lib/islands/island.svelte';
  export let resultObject = {
    results: true,
    title: '',
    resultLines: []
  };

  let variables = {
    title: resultObject.title
  };
</script>

<Island {variables}>
  {#each resultObject.resultLines as line}
    <p>{line}</p>
  {/each}
</Island>

<style>
  p {
    color: white;
  }
</style>
