mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-05-08 15:15:02 -04:00
14 lines
547 B
Vue
14 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>
|