feat: interceptor selector in bottom bar

This commit is contained in:
liyasthomas
2021-12-22 12:45:11 +05:30
parent 889b59e1e4
commit 10586e5288
6 changed files with 237 additions and 156 deletions

View File

@@ -0,0 +1,22 @@
<template>
<div class="flex flex-col space-y-4 items-start">
<SmartRadio
v-for="(radio, index) in radios"
:key="`radio-${index}`"
:value="radio.value"
:label="radio.label"
:selected="selected"
@change="$emit('change', radio.value)"
/>
</div>
</template>
<script setup lang="ts">
defineProps<{
radios: Array<{
value: string
label: string
}>
selected: string
}>()
</script>