<markdown>
# 尺寸

太小太大好像都不怎么好看。
</markdown>

<script lang="ts" setup>
import { ref } from 'vue'

function createOptions() {
  return Array.from({ length: 100 }).map((v, i) => ({
    label: `Option ${i}`,
    value: i,
    disabled: i % 5 === 0
  }))
}

function createValues() {
  return Array.from({ length: 50 }).map((v, i) => i)
}

const options = createOptions()
const value = ref(createValues())
</script>

<template>
  <n-space vertical>
    <n-transfer v-model:value="value" :options="options" size="small" />
    <n-transfer v-model:value="value" :options="options" size="large" />
  </n-space>
</template>
