feat: add ButtonGroup component

This commit is contained in:
Sebin Nyshkim 2023-01-20 00:35:21 +01:00
parent 5cf33f6dfa
commit e902589427

View file

@ -0,0 +1,20 @@
<script setup lang="ts"></script>
<template>
<div class="btn-group">
<slot></slot>
</div>
</template>
<style lang="scss">
.btn-group {
display: flex;
flex-flow: row wrap;
justify-content: space-evenly;
> * {
flex: var(--button-group-flex);
margin: 1rem 0;
}
}
</style>