<template>
  <div class="go-smart-campus-metrics-config">
    <n-form-item label="标题">
      <n-input v-model:value="option.title" />
    </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.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>
