<template>
  <div :style="{'color': color}">
    <el-icon><Warning/></el-icon>
    <span> {{ placeholder }}</span>
  </div>
</template>

<script setup>
import {defineProps} from "vue";

const props = defineProps({
  mode: {
    type: String,
    default: 'DESIGN'
  },
  required: {
    type: Boolean,
    default: false
  },
  color: {
    type: String,
    default: '#868686'
  },
  placeholder: {
    type: String,
    default: '只是一段说明文字'
  }
})
</script>
