<template>
  <div>
    <a-form-item label="提示文字">
      <a-input
        v-model="value.placeholder"
        size="small"
        placeholder="请设置日期提示"
      />
    </a-form-item>
    <a-form-item label="日期格式">
      <a-select
        v-model="value.format"
        :options="value.options"
        size="small"
        placeholder="请选择格式"
        style="width: 100%;"
      />
    </a-form-item>
  </div>
</template>

<script>
export default {
  name: 'DateTimeConfig',
  props: {
    value: {
      type: Object,
      default: () => ({
        placeholder: '',
        format: '',
        options: [],
      }),
    },
  },
};
</script>

<style scoped>
</style>
