mirror of
https://github.com/element-plus/element-plus.git
synced 2024-12-15 02:40:46 +08:00
15 lines
443 B
Vue
15 lines
443 B
Vue
|
<template>
|
||
|
<div class="flex flex-col items-start gap-4">
|
||
|
<el-segmented v-model="value" :options="options" size="large" />
|
||
|
<el-segmented v-model="value" :options="options" size="default" />
|
||
|
<el-segmented v-model="value" :options="options" size="small" />
|
||
|
</div>
|
||
|
</template>
|
||
|
<script lang="ts" setup>
|
||
|
import { ref } from 'vue'
|
||
|
|
||
|
const value = ref('Mon')
|
||
|
|
||
|
const options = ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
|
||
|
</script>
|