<script>
  const tag = "div";
  export let foo;
</script>

<svelte:element tag={tag} bind:this={foo}></svelte:element>
