<template>
  <div class="go-wisdom-metrics-config">
    <n-form-item label="主标题">
      <n-input v-model:value="option.title" />
    </n-form-item>
    <n-form-item label="副标题">
      <n-input v-model:value="option.subtitle" />
    </n-form-item>
    <n-form-item label="主标题大小">
      <n-input-number v-model:value="option.titleSize" />
    </n-form-item>
    <n-form-item label="副标题大小">
      <n-input-number v-model:value="option.subtitleSize" />
    </n-form-item>
    <n-form-item label="标签大小">
      <n-input-number v-model:value="option.labelSize" />
    </n-form-item>
    <n-form-item label="数值大小">
      <n-input-number v-model:value="option.valueSize" />
    </n-form-item>
  </div>
</template>

<script setup lang="ts">
import { PropType } from 'vue'
import { option } from './config'

defineProps({
  option: {
    type: Object as PropType<typeof option>,
    required: true
  }
})
</script>
