<template>
  <div class="status_main">
    <div :style="{backgroundColor: color }" class="size">

    </div>
    &nbsp;
    <span>
      {{ label }}
    </span>
  </div>
</template>

<script setup name='StatusColor'>
const props = defineProps({
  label: String,
  color: String
})

</script>

<style lang="scss" scoped>

.status_main {
  display: flex;
  justify-content: center;
  align-items: center;
}

.size {
  width: 10px;
  height: 10px;
  border: 1px solid;
}
</style>