<div {...$$props} on:click>
  <slot></slot>
</div>

<style>
  div {
    justify-content: space-between;
    display: flex;
    align-items: center;
    margin: 10px 0;
  }
</style>
