<script setup>
</script>

<template>
  <div class="pankow-button-group">
    <slot></slot>
  </div>
</template>

<style>

.pankow-button-group {
  display: inline-flex;
  white-space: nowrap;
}

.pankow-button-group > .pankow-button {
  border-radius: 0;
  margin-left: 0;
  margin-right: 0;
  border-left-width: 0.5px;
  border-right-width: 0.5px;
}

.pankow-button-group > .pankow-button:first-child {
  border-top-left-radius: var(--pankow-border-radius);
  border-bottom-left-radius: var(--pankow-border-radius);
  border-left-width: 1px;
}

.pankow-button-group > .pankow-button:last-child {
  border-top-right-radius: var(--pankow-border-radius);
  border-bottom-right-radius: var(--pankow-border-radius);
  border-right-width: 1px;
}

</style>