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

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