<template>
  <div class="go-alarm-list-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.fontSize" />
    </n-form-item>
    <n-form-item label="表头高度">
      <n-input-number v-model:value="option.headerHeight" />
    </n-form-item>
    <n-form-item label="行高度">
      <n-input-number v-model:value="option.itemHeight" />
    </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>
