mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-05-08 07:11:03 -04:00
15 lines
547 B
Vue
15 lines
547 B
Vue
![]() |
<script setup lang="ts">
|
||
|
const optionsA = [
|
||
|
{ label: 'Option A', value: 'a' },
|
||
|
{ label: 'Option B', value: 'b', tooltip: 'This is a tooltip' },
|
||
|
{ label: 'Option C', value: 'c' },
|
||
|
];
|
||
|
const valueA = ref('a');
|
||
|
</script>
|
||
|
|
||
|
<template>
|
||
|
<c-buttons-select v-model:value="valueA" :options="optionsA" label="Label: " />
|
||
|
<c-buttons-select v-model:value="valueA" :options="optionsA" label="Label: " label-position="left" mt-2 />
|
||
|
<c-buttons-select v-model:value="valueA" :options="optionsA" label="Label: " label-position="left" mt-2 />
|
||
|
</template>
|